Skip to content

Commit

Permalink
[ci] Setup google cloud only on pushes to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Dec 23, 2024
1 parent 43e6e92 commit 9bec054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
run: make publish

- name: Setup Google Cloud
# if: ${{ github.event_name=='push' }}
if: ${{ github.event_name=='push' }}
uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.GCS_DOWNLOADS_SERVICE_ACCOUNT_JSON }}
project_id: ${{ secrets.GCS_PROJECT_ID }}
export_environment_variables: true

- name: 'Set up Cloud SDK'
- name: Set up Cloud SDK
if: ${{ github.event_name=='push' }}
uses: 'google-github-actions/setup-gcloud@v2'

Expand Down

0 comments on commit 9bec054

Please sign in to comment.