Disable verification cron jobs on prod (#15) #4
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: Cron | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'cron.yaml' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛫 Checkout | |
uses: actions/checkout@v3 | |
- name: 🗝 Authenticate with GCloud | |
uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.GCP_CREDENTIALS }} | |
- name: 🤖 Set up GCloud SDK | |
uses: google-github-actions/setup-gcloud@v1 | |
- name: 🚀 Deploy Cron Jobs on GCloud | |
run: gcloud app deploy cron.yaml |