Seed World Bank Tech Readiness #1
This file contains hidden or 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: Seed World Bank Tech Readiness | |
| on: | |
| schedule: | |
| # Every Sunday at 02:00 UTC — WB data is annual, weekly refresh is more than sufficient | |
| - cron: '0 2 * * 0' | |
| workflow_dispatch: {} | |
| jobs: | |
| seed: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - run: node scripts/seed-wb-indicators.mjs | |
| env: | |
| UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }} | |
| UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }} |