committed by
Jay Linski
parent
bb55dead2d
commit
f202c501a3
@@ -11,6 +11,7 @@ jobs:
|
|||||||
publish-aws-s3:
|
publish-aws-s3:
|
||||||
name: Publish to AWS S3
|
name: Publish to AWS S3
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
|
environment: 'builds.handlebarsjs.com.s3.amazonaws.com'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -31,6 +32,6 @@ jobs:
|
|||||||
git config --global user.name "handlebars-lang"
|
git config --global user.name "handlebars-lang"
|
||||||
npm run publish:aws
|
npm run publish:aws
|
||||||
env:
|
env:
|
||||||
# Note: the environment secrets `S3_ACCESS_KEY_ID`
|
|
||||||
# and `S3_SECRET_ACCESS_KEY` have to be set!
|
|
||||||
S3_BUCKET_NAME: "builds.handlebarsjs.com"
|
S3_BUCKET_NAME: "builds.handlebarsjs.com"
|
||||||
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user