Skip to content

Commit

Permalink
Prepare for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed Sep 1, 2023
1 parent 841ce3a commit f95ef9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-maybe-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:

- name: Auth gcloud
uses: google-github-actions/auth@v1
#if: github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/')
if: github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/')
with:
project_id: ${{ contains(github.ref, 'refs/tags/') && 'mabl-prod' || 'mabl-dev' }}
credentials_json: "${{ contains(github.ref, 'refs/tags/') && secrets.GCP_DEPLOY_SERVICE_ACCOUNT_MABL_PROD || secrets.GCP_DEPLOY_SERVICE_ACCOUNT_MABL_DEV }}"

- name: Deploy to Dev
#if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main'
run: |
GIT_SHA=${{ github.sha }}
GIT_SHA_SHORT=${GIT_SHA:0:7}
Expand Down

0 comments on commit f95ef9e

Please sign in to comment.