Skip to content

Update README.md

Update README.md #5

Workflow file for this run

# .github/workflows/prod.yml
name: Deploy to PROD
on:
push:
branches:
- main
env:
PROJECT_ID: ${{ secrets.GCP_PROD_PROJECT_ID }}
RUN_REGION: us-east1
SA_KEY_JSON: ${{ secrets.GCP_PROD_SA_KEY_JSON }}
jobs:
deploy:
name: Deploy to PROD
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup gcloud CLI
- uses: google-github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GCP_PROD_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_PROD_SA_KEY_JSON }}
export_default_credentials: true
- name: Use gcloud CLI to deploy to PROD
run: gcloud app deploy --quiet
- name: Use gcloud CLI to deploy cron jobs to PROD
run: gcloud app deploy cron.yaml --quiet