Skip to content

Commit 030ebaa

Browse files
authored
build/deploy: kustomize path fix stage/prod (#369)
1 parent d7fad9f commit 030ebaa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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}"
@@ -54,6 +54,7 @@ jobs:
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

0 commit comments

Comments
 (0)