Skip to content

Commit

Permalink
add publish actions for mkdocs build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaterre committed Jan 12, 2024
1 parent bc022a4 commit 5e0a9c5
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/publish-dots-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ on:
branches:
- dots-docs
jobs:
build:
name: Deploy docs
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: dots.documentation.com
CONFIG_FILE: documentation/mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: requirements.txt
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install -r requirements.txt
- run: mkdocs gh-deploy --force --clean --verbose

0 comments on commit 5e0a9c5

Please sign in to comment.