Migrate to GCP App Engine from Heroku #10
Workflow file for this run
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
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 cron.yaml | |
version: v1 | |
project_id: ${{ secrets.GCP_PROJECT }} | |
credentials: ${{ secrets.GCP_APPLICATION_CREDENTIALS }} | |
- name: Test | |
run: curl "${{ steps.deploy.outputs.url }}" |