Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/deploy: kustomize path fix stage/prod #369

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
ref: main
- uses: imranismail/setup-kustomize@v2
- run: |
cd stage
kustomize edit set image vnguyen/openbeta-graph-api:sha-${GITHUB_SHA}
- name: Check if there is any change
id: get_changes
run: echo "changed=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
- name: Push if tag has changes
if: steps.get_changes.outputs.changed != 0
run: |
cd api-server-deployment/stage
git config user.name github-actions
git config user.email [email protected]
git commit -am "Update deployment. Code=${GITHUB_SHA}"
Expand All @@ -54,6 +54,7 @@ jobs:
ref: main
- uses: imranismail/setup-kustomize@v2
- run: |
cd prod
kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF}
- name: Check if there is any change
id: get_changes
Expand Down
Loading