Skip to content

Commit

Permalink
update stage deploy condition (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t authored Mar 27, 2024
1 parent ca9c1e5 commit 5b15b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: push and deploy docker
if: github.event_name == 'push'
if: ${{ (github.event_name == 'push') && (github.ref == 'refs/heads/suite') }}
run: |
gcloud auth configure-docker --quiet europe-west3-docker.pkg.dev
docker push ${{ steps.setDefaults.outputs.docker_image }}
Expand Down Expand Up @@ -113,4 +113,4 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag ${{ steps.createTag.outputs.suite_tag }}
git push --tags
git push --tags

0 comments on commit 5b15b73

Please sign in to comment.