Skip to content

Commit

Permalink
build: Authenticate to Google Cloud when not in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
usmansaleem committed Mar 8, 2025
1 parent b450389 commit 45be7e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2.1.8
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
with:
credentials_json: ${{ secrets.GCP_CREDENTIALS_JSON }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
Expand Down

0 comments on commit 45be7e2

Please sign in to comment.