Merge pull request #49 from yacosta738/main #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish to github pages | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # fetch everything so that mkdocs doesn't run into the missing refs problem | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.x' | |
- run: python .publish/prepareGithubPages.py | |
- run: pip install mkdocs-material=="9.5.49" | |
- run: pip install mkdocs-roamlinks-plugin | |
- run: | | |
cd .publish | |
mkdocs gh-deploy |