Skip to content

Update Google Cloud Run Service #1

Update Google Cloud Run Service

Update Google Cloud Run Service #1

name: Update Google Cloud Run Service
on:
workflow_run:
workflows: ["Build and Push Docker Image"]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Authenticate with Google
uses: google-github-actions/auth@v0
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
- name: Deploy to cloud run
id: 'deploy'
uses: 'google-github-actions/deploy-cloudrun@v2'
with:
service: 'web3-testimonials'
image: 'jbhv12/web3-testimonials:latest'
- name: 'Use output'
run: 'curl "${{ steps.deploy.outputs.url }}"'