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 40
40
runs-on : ubuntu-latest
41
41
environment : " Docs"
42
42
permissions :
43
- contents : write # push to gh-pages
44
43
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
46
44
steps :
47
45
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48
46
with :
70
68
git pull origin "$BRANCH"
71
69
env :
72
70
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
-
81
71
- name : Configure AWS credentials
82
72
uses : aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
83
73
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
63
63
build : pr
64
64
poetry build
65
65
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
-
72
66
docs-local :
73
67
poetry run mkdocs serve
74
68
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ bandit = "^1.7.10"
91
91
radon = " ^6.0.1"
92
92
xenon = " ^0.9.3"
93
93
mkdocs-git-revision-date-plugin = " ^0.3.2"
94
- mike = " ^2.1.2"
95
94
pytest-xdist = " ^3.6.1"
96
95
aws-cdk-lib = " ^2.176.0"
97
96
"aws-cdk.aws-apigatewayv2-alpha" = " ^2.38.1-alpha.0"
You can’t perform that action at this time.
0 commit comments