Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored May 23, 2024
1 parent 7c5a8cd commit 1238007
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,23 @@ jobs:
steps:
- name: Checkout master
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs && pip install mkdocs-material==8.5
- name: Deploy site
run: mkdocs build
# build according to mkdocs.yml in root directory
- name: Deploy https://kjellkod.github.io/g3log/
run: mkdocs gh-deploy --force

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base

# - name: Deploy docs
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CONFIG_FILE: mkdocs.yml
# EXTRA_PACKAGES: build-base

# # Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/
# on:
Expand Down

0 comments on commit 1238007

Please sign in to comment.