File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - master
8+ tags :
9+ - ' *'
10+
11+ jobs :
12+ publish-aws-s3 :
13+ name : Publish to AWS S3
14+ runs-on : ' ubuntu-latest'
15+ environment : ' builds.handlebarsjs.com.s3.amazonaws.com'
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+ with :
20+ submodules : true
21+
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v2
24+ with :
25+ node-version : ' 16'
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Publish
31+ run : |
32+ git config --global user.email "[email protected] " 33+ git config --global user.name "handlebars-lang"
34+ npm run publish:aws
35+ env :
36+ S3_BUCKET_NAME : " builds.handlebarsjs.com"
37+ S3_ACCESS_KEY_ID : ${{ secrets.S3_ACCESS_KEY_ID }}
38+ S3_SECRET_ACCESS_KEY : ${{ secrets.S3_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments