Skip to content

Migrate to GCP App Engine from Heroku #18

Migrate to GCP App Engine from Heroku

Migrate to GCP App Engine from Heroku #18

name: Deploy to App Engine
on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches: [ main ]
jobs:
deploy:
name: Deploying to Google Cloud
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to App Engine
id: deploy
uses: google-github-actions/deploy-appengine@v0.2.0
with:
deliverables: app.yaml
version: v1
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
- name: Test
run: curl "${{ steps.deploy.outputs.url }}/status"