File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed
Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 11name : Schedule Node.js LTS download
22
33on :
4- schedule :
5- - cron : ' 0 * * * *' # Runs every hour
4+ push :
5+ branches :
6+ - main
7+
8+ # on:
9+ # schedule:
10+ # - cron: '0 * * * *' # Runs every hour
11+
612jobs :
713 run-node-script :
814 runs-on : ubuntu-latest
3945 if : env.new_version != ''
4046 run : node src/download.js
4147
48+ - name : Upload Node To S3
49+ uses : keithweaver/aws-s3-github-action@v1.0.0
50+ with :
51+ command : cp
52+ source : ./src/assets/
53+ destination : s3://phnode/
54+ aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
55+ aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
56+ aws_region : us-east-1
57+ flags : --recursive
58+
4259 - name : Create Draft Release
4360 if : env.new_version != ''
4461 id : create_release
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ src-tauri/phnode-*
1616src-tauri /tauri-local.conf.json
1717phoenix
1818
19+ src /assets
20+
1921node_modules
2022dist
2123dist-ssr
You can’t perform that action at this time.
0 commit comments