Skip to content

fix: Rollback doc changes #1323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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