Skip to content

Submit suggestions

Submit suggestions #72

name: Deploy to App Engine
on:
pull_request:
types:
- closed
branches:
- main
concurrency:
group: prod-deploy
cancel-in-progress: true
jobs:
deploy:
if: github.event.pull_request.merged == true
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