Skip to content

Commit

Permalink
Deploying to GitHub Pages: versioning №2
Browse files Browse the repository at this point in the history
  • Loading branch information
bleudev committed Jun 30, 2024
1 parent 29cb9c1 commit 342f4b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ jobs:
id: extract_branch
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.12
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install -r docs/requirements.txt
- run: mike deploy --push --update-aliases ${{ steps.extract_branch.outputs.branch }} latest
- run: mkdocs gh-deploy --force
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mkdocs-autorefs
markdown-include
mkdocs-material
mkdocs-material
mike

0 comments on commit 342f4b6

Please sign in to comment.