Retry data retrieval #283
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: Retry data retrieval | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '43 9 * * *' | |
jobs: | |
refresh-video: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm ci | |
- run: npm run retryDataRetrieval | |
- run: git config user.name github-actions | |
- run: git config user.email github-actions@github.com | |
- run: git add . | |
- run: git commit -m "RDR `date +'%Y-%m-%d %H:%M:%S'`" || echo "No changes to commit" | |
- run: git push || echo "Nothing to push" |