File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments