Bump version to 0.2.9 #2
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
# GitHub workflow to deploy MkDocs documentation to GitHub Pages | |
name: ci | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin | |
- name: Write YAML frontmatter in README | |
run: "sed -i '1i ---\\nicon: octicons/home-16\\n---\\n' docs/README.md" | |
- name: Configure Git Credentials | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | |
- uses: actions/cache@v3 | |
with: | |
key: mkdocs-material-${{ env.cache_id }} | |
path: .cache | |
restore-keys: | | |
mkdocs-material- | |
- run: pip install \ | |
mkdocs-material \ | |
mkdocs-git-revision-date-localized-plugin \ | |
mkdocs-jupyter==0.24.7 | |
# - run: pip install .[dev] | |
- run: mkdocs gh-deploy --force |