Merge pull request #10 from donat-konan33/yellow-letter #4
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
# .app-engine-cd.yml | |
name: Basic CD | |
on: | |
push: | |
branches: [master, main] | |
jobs: | |
deploy-to-app-engine: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: 'actions/checkout@v3' | |
# Authenticate via Service Account Key JSON | |
# See https://github.com/google-github-actions/auth#authenticating-via-service-account-key-json-1 | |
- id: 'auth' | |
uses: 'google-github-actions/auth@v2' | |
with: | |
credentials_json: '${{ secrets.GCP_SA_KEY }}' | |
# | |
# Use Google official GHA to deploy 🎉 | |
- id: 'deploy' | |
uses: 'google-github-actions/deploy-appengine@v2' |