File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed
Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 4040 runs-on : ubuntu-latest
4141 environment : " Docs"
4242 permissions :
43- contents : write # push to gh-pages
4443 id-token : write # trade JWT token for AWS credentials in AWS Docs account
45- pages : write # uncomment if mike fails as we migrated to S3 hosting
4644 steps :
4745 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4846 with :
7068 git pull origin "$BRANCH"
7169 env :
7270 BRANCH : ${{ inputs.git_ref }}
73- - name : Build docs website and API reference
74- env :
75- VERSION : ${{ inputs.version }}
76- ALIAS : ${{ inputs.alias }}
77- run : |
78- make release-docs VERSION="$VERSION" ALIAS="$ALIAS"
79- poetry run mike set-default --push latest
80-
8171 - name : Configure AWS credentials
8272 uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
8373 with :
Original file line number Diff line number Diff line change @@ -63,12 +63,6 @@ pr: lint lint-docs mypy pre-commit test security-baseline complexity-baseline
6363build : pr
6464 poetry build
6565
66- release-docs :
67- @echo " Rebuilding docs"
68- rm -rf site api
69- @echo " Updating website docs"
70- poetry run mike deploy --push --update-aliases ${VERSION} ${ALIAS}
71-
7266docs-local :
7367 poetry run mkdocs serve
7468
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ bandit = "^1.7.10"
9191radon = " ^6.0.1"
9292xenon = " ^0.9.3"
9393mkdocs-git-revision-date-plugin = " ^0.3.2"
94- mike = " ^2.1.2"
9594pytest-xdist = " ^3.6.1"
9695aws-cdk-lib = " ^2.176.0"
9796"aws-cdk.aws-apigatewayv2-alpha" = " ^2.38.1-alpha.0"
You can’t perform that action at this time.
0 commit comments