We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36176f4 commit 2d7c9dfCopy full SHA for 2d7c9df
.github/workflows/run.yml
@@ -0,0 +1,29 @@
1
+name: Update behested payments
2
+
3
+on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: '0 0 1 * *'
7
8
+jobs:
9
+ run:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: actions/setup-node@v2
15
+ with:
16
+ node-version: '20'
17
+ - name: Install Node dependencies
18
+ run: npm install
19
+ - name: Run scripts
20
+ run: node scrape.mjs
21
+ - name: Commit and push if it changed
22
+ run: |-
23
+ git config user.name "Automated"
24
+ git config user.email "actions@users.noreply.github.com"
25
+ git pull
26
+ git add behested.csv
27
+ timestamp=$(date -u)
28
+ git commit -m "Latest data: ${timestamp}" || exit 0
29
+ git push
0 commit comments