We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9af34d5 + bbea527 commit 30883a5Copy full SHA for 30883a5
.github/workflows/node.js.yml
@@ -0,0 +1,30 @@
1
+name: Update data
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches:
8
+ - main
9
+ schedule:
10
+ - cron: "0 8 * * *"
11
+ workflow_dispatch:
12
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Generate data
20
+ uses: actions/setup-node@v1
21
+ with:
22
+ node-version: 15.x
23
+ - run: node generate.js
24
+ - name: Commit & Push Generated Data
25
+ run: |
26
+ git config --local user.email "actions@github.com"
27
+ git config --local user.name "Actions Auto Build"
28
+ git add -f .
29
+ git commit -m "docs: generate documents" || true
30
+ git push --force origin HEAD:refs/heads/main
0 commit comments