Skip to content

Commit

Permalink
TEST GithubActions 4 update 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MirceaMateiMozilla committed Oct 17, 2023
1 parent d4b2905 commit 7ca6a2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/google-cloudrun-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Deploy to Cloud Run from Source
on:
push:
branches: ['main']
secrets: inherit

env:
PROJECT_ID: regrets-reporter-dev # TODO: update Google Cloud project id
Expand All @@ -20,12 +21,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
secrets: inherit

- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v0'
secrets: inherit
with:
token_format: 'access_token'
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
Expand All @@ -34,7 +33,6 @@ jobs:
- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v0
secrets: inherit
with:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
Expand Down

0 comments on commit 7ca6a2b

Please sign in to comment.