Skip to content

Commit

Permalink
Update deploy_action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sehilyi authored Nov 7, 2024
1 parent 2a2f543 commit 2b1c032
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
npm i
fi
npm run build
- uses: jakejarvis/s3-sync-action@v0.5.1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
args: --acl public-read --follow-symlinks
env:
AWS_S3_BUCKET: gosling-lang
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'
SOURCE_DIR: 'build' # optional: defaults to entire repository
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }}
- name: Copy files to the s3 website content bucket
run:
aws s3 sync build s3://gosling-lang

0 comments on commit 2b1c032

Please sign in to comment.