We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79be875 commit 96fdcbaCopy full SHA for 96fdcba
1 file changed
.github/workflows/script.yml
@@ -1,13 +1,8 @@
1
name: Schedule Node.js LTS download
2
3
on:
4
- push:
5
- branches:
6
- - main
7
-
8
-#on:
9
-# schedule:
10
-# - cron: '0 * * * *' # Runs every hour
+ schedule:
+ - cron: '0 * * * *' # Runs every hour
11
12
jobs:
13
run-node-script:
@@ -42,10 +37,11 @@ jobs:
42
37
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
38
44
39
- name: Download Node
45
-# if: env.new_version != ''
40
+ if: env.new_version != ''
46
41
run: node src/download.js
47
48
- name: Upload Node To S3
49
uses: keithweaver/aws-s3-github-action@v1.0.0
50
with:
51
command: cp
0 commit comments