cron-create-daily-trivia #843
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-create-daily-trivia | |
on: | |
schedule: | |
- cron: "0 11 * * *" | |
jobs: | |
cron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: create dev trivia questions | |
run: curl -X POST https://generate-dot-geobuff-dev.ts.r.appspot.com/api/trivia | |
- name: create prod trivia questions | |
run: curl -X POST https://generate-dot-geobuff-prod-317101.ts.r.appspot.com/api/trivia | |
- name: deploy dev UI | |
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_tXmBeayQ5RRnX5hOwAXP9ku7umj6/F7H8SzRacv | |
- name: deploy prod UI | |
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_tXmBeayQ5RRnX5hOwAXP9ku7umj6/Uf3kCVGnvt | |
- name: deploy mobile prod UI | |
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_2rE8TIefxXI47eAKuXEfuNDnOpWq/Kd2O4gC6YI |