Skip to content

Commit

Permalink
Update github action to use latest version of cloud run
Browse files Browse the repository at this point in the history
  • Loading branch information
mairh committed Jan 8, 2024
1 parent 6fe03fb commit bd6e4f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v0'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: '${{ secrets.PRODUCTION_WORKLOAD_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.PRODUCTION_SERVICE_ACCOUNT }}'

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v0
uses: google-github-actions/deploy-cloudrun@v2
with:
service: ${{ secrets.PRODUCTION_CLOUD_RUN_SERVICE_NAME }}
region: ${{ secrets.PRODUCTION_REGION }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v0'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: '${{ secrets.STAGING_WORKLOAD_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.STAGING_SERVICE_ACCOUNT }}'

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v0
uses: google-github-actions/deploy-cloudrun@v2
with:
service: ${{ secrets.STAGING_CLOUD_RUN_SERVICE_NAME }}
region: ${{ secrets.STAGING_REGION }}
Expand Down

0 comments on commit bd6e4f9

Please sign in to comment.