File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
2626 ref : main
2727 - uses : imranismail/setup-kustomize@v2
2828 - run : |
29+ cd stage
2930 kustomize edit set image vnguyen/openbeta-graph-api:sha-${GITHUB_SHA}
3031 - name : Check if there is any change
3132 id : get_changes
3233 run : echo "changed=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
3334 - name : Push if tag has changes
3435 if : steps.get_changes.outputs.changed != 0
3536 run : |
36- cd api-server-deployment/stage
3737 git config user.name github-actions
3838 git config user.email github-actions@github.com
3939 git commit -am "Update deployment. Code=${GITHUB_SHA}"
5454 ref : main
5555 - uses : imranismail/setup-kustomize@v2
5656 - run : |
57+ cd prod
5758 kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF}
5859 - name : Check if there is any change
5960 id : get_changes
You can’t perform that action at this time.
0 commit comments