๐ŸŒ mirroring test!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: deploy to cloud run via github actions

+34
+34
.github/workflows/deploy.yaml
··· 1 + name: Deploy to Cloud Run 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + 8 + jobs: 9 + deploy: 10 + runs-on: ubuntu-latest 11 + 12 + permissions: 13 + contents: 'read' 14 + id-token: 'write' 15 + 16 + steps: 17 + - uses: 'actions/checkout@v4' 18 + 19 + - uses: 'google-github-actions/auth@v2' 20 + with: 21 + project_id: shuuji3 22 + workload_identity_provider: 'projects/1012658349987/locations/global/workloadIdentityPools/identity-pool/providers/github-actions' 23 + service_account: shuuji3-xyz@shuuji3.iam.gserviceaccount.com 24 + 25 + - id: 'deploy' 26 + uses: 'google-github-actions/deploy-cloudrun@v2' 27 + with: 28 + region: asia-east1 29 + service: shuuji3-xyz 30 + source: . 31 + revision_traffic: 'LATEST=100' 32 + 33 + - name: 'Use output' 34 + run: 'curl "${{ steps.deploy.outputs.url }}"'