Skip to content

Update Download Stats #1277

Update Download Stats

Update Download Stats #1277

Workflow file for this run

name: Update Download Stats
on:
workflow_dispatch:
schedule:
- cron: '33 4 * * *'
jobs:
generate:
name: 'Update Download Stats'
runs-on: ubuntu-latest
steps:
- name: Check out flow-library repository
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18'
- run: npm install --only=production
- name: Run update
env:
NR_MONGO_URL: ${{ secrets.NR_MONGO_URL }}
FLOW_ENV: PRODUCTION
run: node ./tasks/update-download-stats.js