Skip to content

Commit

Permalink
chore: Update AWS credentials in GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 16, 2024
1 parent 171aca8 commit edf50cc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- main
- master

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -29,9 +34,6 @@ jobs:
with:
args: --publish
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
FROM_PATH: "./target/publish"
DEST_PATH: "s3://www.toast.sh"
OPTIONS: "--acl public-read"
Expand All @@ -41,9 +43,6 @@ jobs:
with:
args: --publish
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
FROM_PATH: "./target/publish"
DEST_PATH: "s3://www.toaster.run"
OPTIONS: "--acl public-read"
Expand Down

0 comments on commit edf50cc

Please sign in to comment.