Skip to content

Merge pull request #237 from JHWelch/dependabot/npm_and_yarn/global-n… #199

Merge pull request #237 from JHWelch/dependabot/npm_and_yarn/global-n…

Merge pull request #237 from JHWelch/dependabot/npm_and_yarn/global-n… #199

name: Deploy to App Engine
on:
push:
branches:
- main
concurrency:
group: prod-deploy
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
permissions:
contents: read
id-token: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Place .env file
run: echo "${{ secrets.ENV_FILE }}" | base64 -d > .env
- name: Auth with Google
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.GOOGLE_WORKFLOW_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
- name: Deploy to Google
uses: google-github-actions/deploy-appengine@v2
with:
deliverables: app.yaml cron.yaml