Skip to content

Commit d55ce84

Browse files
committed
Adjusted YAML
1 parent 79e7ad2 commit d55ce84

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626

2727
- name: List directory structure
2828
run: ls -alR
29-
29+
3030
- name: Deploy to S3
31-
uses: jakejarvis/[email protected]
32-
with:
33-
args: --delete
31+
run: |
32+
aws s3 sync dist s3://$AWS_S3_BUCKET/$S3_TARGET_FOLDER --delete --region $AWS_REGION
3433
env:
3534
AWS_S3_BUCKET: ${{ secrets.EVERSE_AWS_S3_BUCKET_NAME_GLTF_VIEWER }}
35+
S3_TARGET_FOLDER: ${{ secrets.EVERSE_AWS_S3_TARGET_FOLDER_GLTF_VIEWER }}
3636
AWS_ACCESS_KEY_ID: ${{ secrets.EVERSE_AWS_S3_BUCKET_SECRET_KEY_ID }}
3737
AWS_SECRET_ACCESS_KEY: ${{ secrets.EVERSE_AWS_S3_BUCKET_SECRET_KEY_SECRET }}
38-
AWS_REGION: 'us-east-1' # or your AWS region
39-
SOURCE_DIR: 'dist' # or the directory where your build artifacts are located
38+
AWS_REGION: 'us-east-1'

0 commit comments

Comments
 (0)