Skip to content

Commit

Permalink
Remove mike versioning (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Jul 21, 2024
1 parent 98996e4 commit 372b1a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 113 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,8 @@ jobs:
poetry config virtualenvs.in-project true
- name: 🏗 Install dependencies
run: poetry install --no-interaction
- name: 🏗 Deploy new version with Mike
run: |
VERSION=${{ github.event.release.tag_name || github.event.inputs.version }}
VERSION=${VERSION#v} # Verwijder de 'v' prefix
MINOR_VERSION=$(echo $VERSION | awk -F. '{print $1 ".x"}')
poetry run mike deploy --push --update-aliases latest $VERSION
poetry run mike alias --push latest $MINOR_VERSION
- name: 🏗 Build documentation
run: poetry run mkdocs build
- name: ⬆️ Upload pages artifacts
uses: actions/[email protected]
with:
Expand Down
2 changes: 0 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,3 @@ extra:
link: https://youtube.com/@dutchdronesquad
- icon: fontawesome/brands/facebook
link: https://facebook.com/dutchdronesquad
version:
provider: mike
104 changes: 1 addition & 103 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ readme = "README.md"
python = "^3.11"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.29"
mike = "^2.1.2"


[build-system]
Expand Down

0 comments on commit 372b1a3

Please sign in to comment.