We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95e97fd + be0ef83 commit d22b189Copy full SHA for d22b189
1 file changed
.github/workflows/ci.yml
@@ -64,9 +64,16 @@ jobs:
64
aws-region: ${{ secrets.AWS_REGION_US }}
65
66
# Copy the files from build folder to the S3 bucket
67
- - name: Deploy to S3
+ # Upload to S3
68
+ - name: sync s3
69
if: github.ref == 'refs/heads/master'
- run: aws s3 cp ./examples/vue-app/dist s3://demo-eth.tor.us --recursive
70
+ uses: jakejarvis/s3-sync-action@master
71
+ env:
72
+ SOURCE_DIR: "./examples/vue-app/dist"
73
+ AWS_REGION: "us-east-1"
74
+ AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET_BETA }}
75
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
76
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
77
78
# Invalidate Cloudfront (this action)
79
- name: invalidate
0 commit comments