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.
1 parent 16ed90e commit 0fee18cCopy full SHA for 0fee18c
.github/workflows/main.yaml
@@ -5,6 +5,10 @@ on:
5
branches:
6
- main
7
8
+env:
9
+ AWS_BUCKET_NAME: ftr-rocketseat-upload-widget-web-static
10
+ SOURCE_FOLDER: ./dist
11
+
12
jobs:
13
deploy:
14
runs-on: ubuntu-latest
@@ -38,3 +42,8 @@ jobs:
38
42
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
39
43
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
40
44
aws-region: ${{ vars.AWS_REGION }}
45
46
+ - name: Config AWS S3 sync
47
+ id: config-aws-s2-sync
48
+ run: |
49
+ aws s3 sync ${{ env.SOURCE_FOLDER }} s3://${{ env.AWS_BUCKET_NAME }} --delete
src/components/upload-widget-title.tsx
@@ -15,7 +15,7 @@ export function UploadWidgetTitle() {
15
</span>
16
)
17
: (
18
- <span>Upload files</span>
+ <span>Upload files...</span>
19
20
}
21
</div>
0 commit comments