We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da02f9b + d3105cc commit b811093Copy full SHA for b811093
2 files changed
.github/workflows/cron.yml
@@ -0,0 +1,25 @@
1
+name: Data release cron job
2
+on:
3
+ schedule:
4
+ # * is a special character in YAML so you have to quote this string
5
+ # (every day at 1am)
6
+ - cron: '0 1 * * *'
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ data:
13
+ runs-on: ubuntu-latest
14
+ container: node:16
15
+ environment: cron
16
17
+ steps:
18
+ - name: Check out repository code
19
+ uses: actions/checkout@v3
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Run tweet script
25
+ run: npm run data
package.json
@@ -27,7 +27,7 @@
27
"fix": "eslint ./src --fix",
28
"lint": "eslint ./src",
29
"clean": "rimraf dist src/dashboard/build",
30
- "ci": "run-s test lint"
+ "data": "echo \"Hello World!\""
31
},
32
"author": "Pathway Commons",
33
"license": "MIT",
0 commit comments