Merge pull request #8 from donat-konan33/yellow-letter #2
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@v1' | |
with: | |
credentials_json: '${{ secrets.GCP_SA_KEY }}' | |
# | |
# Use Google official GHA to deploy 🎉 | |
- id: 'deploy' | |
uses: 'google-github-actions/deploy-appengine@v1' |