Skip to content

Commit 9cae36d

Browse files
committed
build: update technology data automatically
1 parent b88a1a9 commit 9cae36d

File tree

7 files changed

+902
-100
lines changed

7 files changed

+902
-100
lines changed

.github/workflows/update-data.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Update data'
2+
3+
on:
4+
schedule:
5+
- cron: "0 19 * * *"
6+
7+
jobs:
8+
update-data:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: '14'
15+
- name: Install dependencies
16+
run: 'npm install'
17+
- name: Update data
18+
run: 'npm run update-data'
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)