Skip to content

Commit

Permalink
fix: Rollback doc changes (#1323)
Browse files Browse the repository at this point in the history
* Revert "docs: versioning - fix typo (#1322)"

This reverts commit a0c7d38.

* Revert "docs: add support for docs versioning (#1239) (#1293)"

This reverts commit 3dc8405.
  • Loading branch information
scottgerring authored Jul 28, 2023
1 parent a0c7d38 commit bddd99a
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 186 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Build docs website
run: |
echo "GIT_PYTHON_REFRESH=quiet"
make build-docs-website
make build-docs-website
41 changes: 41 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Docs

on:
release:
types:
- published
workflow_dispatch: {}

permissions:
id-token: write
contents: write
pages: write

jobs:
docs:
runs-on: ubuntu-latest
environment: Docs
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Capture branch and tag
id: branch_name
run: |
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build docs website
run: |
make build-docs-website
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }}
- name: Deploy Docs
run: |
aws s3 sync \
dist \
s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/
39 changes: 0 additions & 39 deletions .github/workflows/rebuild-latest-docs.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/release-doc.yml

This file was deleted.

124 changes: 0 additions & 124 deletions .github/workflows/reusable-publish-docs.yml

This file was deleted.

3 changes: 0 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ extra_javascript:
- javascript/extra.js

extra:
version:
provider: mike
default: latest
powertools:
version: 1.16.1 # to update after each release (we do not want snapshot version here)

Expand Down

0 comments on commit bddd99a

Please sign in to comment.