Skip to content

Merge pull request #145 from JHWelch/dependabot/npm_and_yarn/server/m… #141

Merge pull request #145 from JHWelch/dependabot/npm_and_yarn/server/m…

Merge pull request #145 from JHWelch/dependabot/npm_and_yarn/server/m… #141

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@v3
- name: Place .env file
run: echo "${{ secrets.ENV_FILE }}" | base64 -d > .env
- name: Auth with Google
uses: google-github-actions/auth@v1
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@v1
with:
deliverables: app.yaml cron.yaml