aonach/ghactions-deploy
最新稳定版本:v1.3.0
Composer 安装命令:
composer require aonach/ghactions-deploy
包简介
Deploy to servers via Github Actions + Deployer
README 文档
README
The repository contains Deployer configuration for Magento2 and example of Github Actions workflow. The workflow creates events on push into dev/test/master branches and initiate a deployment process to dev/test/master servers, correspondingly.
You need to follow this simple steps to integrate in your project:
-
Copy deploy.yml from the repo to .github/workflow folder
-
Copy hosts.yml to root folder and fill the file with your data
-
Copy deploy.php to root folder if you want to override some tasks
-
Create required DEPLOY_KEY secret in the settings on your repository, it will be used for connect to servers
-
Prepare shared folder on your servers:
- copy app/etc/env.php from current document root to #deploy_path#/shared/app/etc/env.php
- copy all media files from pub/media to #deploy_path#/shared/pub/media
-
Be sure all deployment steps are going right on servers (take care about composer/ssh keys)
-
Push a commit to dev/test/master branch!
Related links:
https://help.github.com/en/github/automating-your-workflow-with-github-actions
统计信息
- 总下载量: 23.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-10-30