Skip to content

Commit 478661f

Browse files
chore(ci): stop publishing to gh-pages branch (#6899)
* Removing mike * Removing mike
1 parent 034b79a commit 478661f

File tree

4 files changed

+1
-74
lines changed

4 files changed

+1
-74
lines changed

.github/workflows/reusable_publish_docs.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ jobs:
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:
@@ -70,14 +68,6 @@ jobs:
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:

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ pr: lint lint-docs mypy pre-commit test security-baseline complexity-baseline
6363
build: 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-
7266
docs-local:
7367
poetry run mkdocs serve
7468

poetry.lock

Lines changed: 1 addition & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ bandit = "^1.7.10"
9191
radon = "^6.0.1"
9292
xenon = "^0.9.3"
9393
mkdocs-git-revision-date-plugin = "^0.3.2"
94-
mike = "^2.1.2"
9594
pytest-xdist = "^3.6.1"
9695
aws-cdk-lib = "^2.176.0"
9796
"aws-cdk.aws-apigatewayv2-alpha" = "^2.38.1-alpha.0"

0 commit comments

Comments
 (0)