Skip to content

update publish_private_website.yml to use new auth #64

update publish_private_website.yml to use new auth

update publish_private_website.yml to use new auth #64

name: Publish to app engine
on:
workflow_dispatch:
push:
branches:
- main
jobs:
Deploy:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- uses: 'actions/checkout@v4'
- id: 'auth'
uses: 'google-github-actions/auth@v2.1.3'
with:
project_id: 'opengen-437315'
workload_identity_provider: 'projects/557148610837/locations/global/workloadIdentityPools/app-engine-publishers/providers/github'
service_account: 'github-appengine-deploy@opengen-437315.iam.gserviceaccount.com'
audience: 'https://iam.googleapis.com/projects/557148610837/locations/global/workloadIdentityPools/app-engine-publishers/providers/github'
- id: 'deploy'
run: gcloud app deploy --quiet