Skip to content

Commit

Permalink
Merge pull request #208 from Nu-SCPTheme/ci
Browse files Browse the repository at this point in the history
Fix text encoding issue for CDN
  • Loading branch information
emmiegit authored Jul 2, 2023
2 parents b1fea7e + 21a9d66 commit deb49b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Build
on:
push:
paths:
Expand Down Expand Up @@ -58,16 +58,15 @@ jobs:
run: make clean-up-s3

- name: Deploy (S3)
uses: jakejarvis/s3-sync-action@master
uses: emmiegit/s3-sync-action@main
if: ${{ github.ref == 'refs/heads/master' }}
with:
args: --content-encoding utf-8 --delete
args: --delete
env:
AWS_S3_BUCKET: ${{ vars.AWS_S3_BUCKET }}
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_CLI_FILE_ENCODING: UTF-8
SOURCE_DIR: dist
DEST_DIR: ${{ env.BUCKET_PATH }}

Expand Down

0 comments on commit deb49b6

Please sign in to comment.