File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 parse-command :
10+ name : Parse command
1011 runs-on : ubuntu-latest
1112 outputs :
1213 artifact : ${{ steps.parse-deploy-command.outputs.infra }}
3334 echo "Infra: ${{ steps.parse-deploy-command.outputs.infra }}"
3435
3536 notify-user :
37+ name : Notify user
3638 needs : [parse-command]
3739 uses : zerodaycode/app-summoners-sync/.github/workflows/notify-user.yml@develop
3840 with :
@@ -41,15 +43,17 @@ jobs:
4143 infra : ${{ needs.parse-command.outputs.artifact }}
4244
4345 deploy-project :
46+ name : Deploy project
4447 needs : [parse-command, notify-user]
4548 if : needs.parse-command.outputs.project != ''
4649 uses : zerodaycode/app-summoners-sync/.github/workflows/deploy-project.yml@develop
4750 with :
4851 project : ${{ needs.parse-command.outputs.project }}
4952 environment : ${{ needs.parse-command.outputs.environment }}
5053 secrets : inherit
51-
54+
5255 deploy-infra :
56+ name : Deploy Infrastructure
5357 needs : [parse-command, notify-user]
5458 if : needs.parse-command.outputs.artifact != ''
5559 uses : zerodaycode/app-summoners-sync/.github/workflows/deploy-infra.yml@develop
Original file line number Diff line number Diff line change 1111 type : string
1212jobs :
1313 deploy_infra_artifact :
14+ name : Deploy Infrastructure Artifact
1415 runs-on : ubuntu-latest
1516 steps :
1617 - name : Validate Artifact
5758 target : /opt/summoners-sync/
5859 rm : true
5960
60- # Deploy Infra
61- - name : Deploy Infra
61+ - name : Run docker with env
62626363 with :
6464 host : ${{ secrets.DO_SSH_HOST_PRE }}
Original file line number Diff line number Diff line change 1313
1414jobs :
1515 deploy_project_artifact :
16+ name : Deploy Project Artifact
1617 runs-on : ubuntu-latest
1718 steps :
1819 - name : Generate Token
Original file line number Diff line number Diff line change 1515
1616jobs :
1717 notify-user :
18+ name : Notify user
1819 runs-on : ubuntu-latest
1920 steps :
2021
You can’t perform that action at this time.
0 commit comments