chore: pass secrets to workflow
This commit is contained in:
parent
69a0ff9a37
commit
97d3f9e151
|
@ -13,3 +13,7 @@ jobs:
|
|||
uses: ./.github/workflows/release-artifacts.yml
|
||||
with:
|
||||
tag: ${{ github.event.inputs.tag }}
|
||||
secrets:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
|
||||
|
|
|
@ -6,6 +6,13 @@ on:
|
|||
tag:
|
||||
required: false
|
||||
type: string
|
||||
secrets:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
required: true
|
||||
AWS_SECRET_ACCESS_KEY:
|
||||
required: true
|
||||
AWS_S3_BUCKET:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
osx-build:
|
||||
|
@ -67,7 +74,7 @@ jobs:
|
|||
with:
|
||||
args: --acl public-read --follow-symlinks
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
|
||||
AWS_REGION: "us-west-1"
|
||||
|
@ -131,7 +138,7 @@ jobs:
|
|||
with:
|
||||
args: --acl public-read --follow-symlinks
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
|
||||
AWS_REGION: "us-west-1"
|
||||
|
|
Loading…
Reference in New Issue