Skip to content
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