-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
a0c7d38
commit bddd99a
Showing
6 changed files
with
42 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters