Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Data release cron job
on:
schedule:
# * is a special character in YAML so you have to quote this string
# (every day at 1am)
- cron: '0 1 * * *'

permissions:
contents: read

jobs:
data:
runs-on: ubuntu-latest
container: node:16
environment: cron

steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Run tweet script
run: npm run data
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"fix": "eslint ./src --fix",
"lint": "eslint ./src",
"clean": "rimraf dist src/dashboard/build",
"ci": "run-s test lint"
"data": "echo \"Hello World!\""
},
"author": "Pathway Commons",
"license": "MIT",
Expand Down