File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - v2
6
+ push :
7
+ branches :
8
+ - v2
9
+ workflow_dispatch : {}
10
+
11
+ permissions :
12
+ id-token : write
13
+ contents : write
14
+ pages : write
15
+
16
+ jobs :
17
+ docs :
18
+ runs-on : ubuntu-latest
19
+ environment : Docs
20
+ steps :
21
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
22
+ - name : Set up Python
23
+ uses : actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
24
+ with :
25
+ python-version : " 3.8"
26
+ - name : Capture branch and tag
27
+ id : branch_name
28
+ run : |
29
+ echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
30
+ echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
31
+ - name : Build docs website
32
+ run : |
33
+ make build-docs-website
34
+ - name : Configure AWS credentials
35
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
36
+ with :
37
+ aws-region : us-east-1
38
+ role-to-assume : ${{ secrets.AWS_DOCS_ROLE_ARN }}
39
+ - name : Deploy Docs
40
+ run : |
41
+ aws s3 sync \
42
+ dist \
43
+ s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/preview/
Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- v2
9
- -
10
9
workflow_dispatch : {}
11
10
jobs :
12
11
publish :
You can’t perform that action at this time.
0 commit comments