This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to app engine | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
# Add "id-token" with the intended permissions. | ||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- id: 'auth' | ||
uses: 'google-github-actions/auth@v2' | ||
with: | ||
project_id: 'probcomp-caliban' | ||
workload_identity_provider: 'projects/110275315150/locations/global/workloadIdentityPools/app-engine-publishers/providers/github' | ||
- id: 'gcloud check' | ||
Check failure on line 25 in .github/workflows/release.yml GitHub Actions / Publish to app engineInvalid workflow file
|
||
run: |- | ||
gcloud auth login --brief --cred-file="${{steps.auth.outputs.credentials_file_path}}" | ||
gcloud services list | ||
- id: 'deploy' | ||
run: | | ||
gcloud app deploy --quiet |