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