Skip to content

Commit

Permalink
Merge pull request #8 from sachahu1/fix/docs-release
Browse files Browse the repository at this point in the history
fix: documentation release and auto rebase
  • Loading branch information
sachahu1 authored Nov 25, 2024
2 parents f552a3d + eb9daf6 commit e1999a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
run: |
poetry run sphinx-build -M html docs/source/ docs/build
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URI }}/pages/v$(poetry version --short) --delete
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URL }}/pages/v$(poetry version --short) --delete
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URI }}/latest --delete
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URL }}/latest --delete
fi
rm -rf docs/build
5 changes: 5 additions & 0 deletions .github/workflows/rebase-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:
name: Rebase
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for accurate rebasing

- name: Set up Git for GITHUB_TOKEN
run: |
git config user.name "github-actions[bot]"
Expand Down

0 comments on commit e1999a8

Please sign in to comment.