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 4dd9493 + a3c6b55 commit 80bfb50Copy full SHA for 80bfb50
.github/workflows/deploy-to-s3.yml
@@ -0,0 +1,29 @@
1
+name: Deploy to Amazon S3
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+defaults:
9
+ run:
10
+ shell: bash
11
12
+jobs:
13
+ deploy:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v1
19
20
+ - name: Upload to S3 Bucket
21
+ uses: jakejarvis/s3-sync-action@master
22
+ with:
23
+ args: --follow-symlinks --delete
24
+ env:
25
+ AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
26
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
27
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
28
+ AWS_REGION: "ap-northeast-2"
29
+ SOURCE_DIR: "docs"
0 commit comments