Trigger scheduled tasks on a CRON Schedule #2174066
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: Trigger scheduled tasks on a CRON Schedule | |
on: | |
workflow_dispatch: | |
env: | |
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }} | |
jobs: | |
build: | |
name: Trigger Chart Data Refresh | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: node ./scripts/update-chart-data/index.mjs |