We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0e63d commit f77bc39Copy full SHA for f77bc39
.github/workflows/event-update.yml
@@ -11,11 +11,20 @@ jobs:
11
contents: write
12
steps:
13
- uses: actions/checkout@v3
14
+ - uses: actions/setup-node@v3
15
- name: Configure date
16
run: |
17
echo "ACTION_DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV}
18
+ - name: Install npm packages
19
+ run: |
20
+ npm i
21
+ - name: Compile TS files
22
23
+ npx tsc ./bin/AutoScraper.ts
24
- name: Gather Event Data
- run: node ./bin/actions.js
- - uses: stefanzweifel/git-auto-commit-action@v4
25
+ run: node ./bin/event-update.js
26
+ - name: Commit changes to data
27
+ uses: stefanzweifel/git-auto-commit-action@v4
28
with:
29
+ file_pattern: 'data/*.json'
30
commit_message: "Event data update: ${{env.ACTION_DATE}}"
bin/AutoScraper.js
bin/actions.js renamed to bin/event-update.js
0 commit comments