diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 861d839..debde32 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,16 +1,17 @@ name: Publish Documentation + on: push: tags: '*' pull_request: branches: - main + jobs: build-docs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - name: Set up Python 3.12 - uses: actions/setup-python@v2 with: @@ -19,7 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry - poetry install -E amazon -E docs + poetry install --extras docs - name: Build documentation run: | mkdir gh-pages