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
37
+
tags: |
38
+
prod
39
+
${{ needs.vars.outputs.version}}
40
+
resume-resources:
41
+
name: Resume Resources # This job resumes resources for the merged PR which is needed if the resources were paused.
42
+
needs: [vars]
43
+
uses: ./.github/workflows/resume-resources.yml
44
+
secrets: inherit
45
+
deploy:
46
+
name: Deploy Stack
47
+
needs: [vars, resume-resources, retag-images]
48
+
uses: ./.github/workflows/.deploy_stack.yml
49
+
secrets: inherit
50
+
with:
51
+
environment_name: dev # since we only have one namespace dev, update this to PROD
52
+
command: apply
53
+
tag: ${{ needs.vars.outputs.version}} # this is the tag of the containers to deploy
54
+
app_env: prod
55
+
release:
56
+
name: Github Release
57
+
runs-on: ubuntu-24.04
58
+
needs: [vars, deploy]
59
+
if: ${{ needs.vars.outputs.tag != '' }}
60
+
steps:
61
+
- name: Create Release
62
+
uses: softprops/action-gh-release@v2
63
+
if: ${{ needs.vars.outputs.tag != ''}}
64
+
continue-on-error: true
65
+
env:
66
+
GITHUB_TOKEN: ${{ github.token }}
67
+
with:
68
+
token: ${{ github.token }}
69
+
tag_name: ${{ needs.vars.outputs.tag }}
70
+
name: ${{ needs.vars.outputs.tag }}
71
+
body: ${{ needs.vars.outputs.clean_changelog }}
72
+
pause-resources:
73
+
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