File tree Expand file tree Collapse file tree 6 files changed +42
-186
lines changed
Expand file tree Collapse file tree 6 files changed +42
-186
lines changed Original file line number Diff line number Diff line change 3434 - name : Build docs website
3535 run : |
3636 echo "GIT_PYTHON_REFRESH=quiet"
37- make build-docs-website
37+ make build-docs-website
Original file line number Diff line number Diff line change 1+ name : Docs
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+ workflow_dispatch : {}
8+
9+ permissions :
10+ id-token : write
11+ contents : write
12+ pages : write
13+
14+ jobs :
15+ docs :
16+ runs-on : ubuntu-latest
17+ environment : Docs
18+ steps :
19+ - uses : actions/checkout@v3
20+ - name : Set up Python
21+ uses : actions/setup-python@v4
22+ with :
23+ python-version : " 3.8"
24+ - name : Capture branch and tag
25+ id : branch_name
26+ run : |
27+ echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
28+ echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
29+ - name : Build docs website
30+ run : |
31+ make build-docs-website
32+ - name : Configure AWS credentials
33+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
34+ with :
35+ aws-region : us-east-1
36+ role-to-assume : ${{ secrets.AWS_DOCS_ROLE_ARN }}
37+ - name : Deploy Docs
38+ run : |
39+ aws s3 sync \
40+ dist \
41+ s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ extra_javascript:
8282 - javascript/extra.js
8383
8484extra :
85- version :
86- provider : mike
87- default : latest
8885 powertools :
8986 version : 1.16.1 # to update after each release (we do not want snapshot version here)
9087
You can’t perform that action at this time.
0 commit comments