You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Pause Resources # This job pauses resources for the merged PR which is needed if the resources were not paused, this is to save money, remove it after cloning.
target: test # this is the tag of the containers to deploy
40
+
tags: |
41
+
prod
42
+
${{ needs.vars.outputs.version}}
43
+
resume-resources:
44
+
name: Resume Resources # This job resumes resources for the merged PR which is needed if the resources were paused.
45
+
needs: [vars]
46
+
uses: ./.github/workflows/resume-resources.yml
47
+
secrets: inherit
48
+
deploy:
49
+
name: Deploy Stack
50
+
needs: [vars, resume-resources, retag-images]
51
+
uses: ./.github/workflows/.deploy_stack.yml
52
+
secrets: inherit
53
+
with:
54
+
environment_name: dev # since we only have one namespace dev, update this to PROD
55
+
command: apply
56
+
tag: ${{ needs.vars.outputs.version}} # this is the tag of the containers to deploy
57
+
app_env: prod
58
+
release:
59
+
name: Github Release
60
+
runs-on: ubuntu-24.04
61
+
needs: [vars, deploy]
62
+
if: ${{ needs.vars.outputs.tag != '' }}
63
+
steps:
64
+
- name: Create Release
65
+
uses: softprops/action-gh-release@v2
66
+
if: ${{ needs.vars.outputs.tag != ''}}
67
+
continue-on-error: true
68
+
env:
69
+
GITHUB_TOKEN: ${{ github.token }}
70
+
with:
71
+
token: ${{ github.token }}
72
+
tag_name: ${{ needs.vars.outputs.tag }}
73
+
name: ${{ needs.vars.outputs.tag }}
74
+
body: ${{ needs.vars.outputs.clean_changelog }}
75
+
pause-resources:
76
+
name: Pause Resources # This job pauses resources for the merged PR which is needed if the resources were not paused, this is to save money, remove it after cloning.
0 commit comments