Cron System Info Updater Workflow #672
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 System Info Updater Workflow | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
cron-system-info-updater: | |
name: 'Cron System Info Updater' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run System Info Updater Endpoint | |
run: | | |
curl -H "Origin: https://opentemplatehub.com" -H "Authorization: Bearer ${{ secrets.ADMIN_AUTH_TOKEN }}" https://oth-server-orchestra-dev.herokuapp.com/analytics/system-info/update?key=npm-downloads |