Skip to content

Commit

Permalink
unshallow gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 3, 2024
1 parent 6ed44b3 commit ee91713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/complete_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
git config --global user.email "bfabricpy-bot-noreply@fgcz.ethz.ch"
- name: Create tag (with Python)
run: |
set -euxo pipefail
# Find the version
VERSION=$(python3 -c "import tomllib; from pathlib import Path; print(tomllib.loads(Path('pyproject.toml').read_text())['project']['version'], end='')")
# Check if tag exists
Expand All @@ -41,5 +42,7 @@ jobs:
python-version: 3.12
- name: Publish documentation
run: |
set -euxo pipefail
git fetch --unshallow origin gh-pages
git checkout gh-pages && git pull && git checkout -
uv run mkdocs gh-deploy

0 comments on commit ee91713

Please sign in to comment.