Skip to content

Commit

Permalink
ci: fixing docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nadobando authored Oct 14, 2023
1 parent d8bb2c2 commit bbea607
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
if: github.ref == 'refs/heads/main'
needs:
- test
- pre-commit
runs-on: ubuntu-latest
concurrency: release
permissions:
Expand Down Expand Up @@ -155,8 +156,11 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: .venv/bin/mkdocs gh-deploy --force
- run: poetry install --no-interaction --only docs

- run: poetry run mkdocs gh-deploy --force

- run: |
poetry build
Expand Down Expand Up @@ -190,19 +194,3 @@ jobs:
- name: Publish package distributions to PyPI

uses: pypa/gh-action-pypi-publish@release/v1

# - name: Publish package distributions to GitHub Releases
# uses: python-semantic-release/upload-to-gh-release@main
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}


- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

0 comments on commit bbea607

Please sign in to comment.