Bump mkdocs-git-revision-date-localized-plugin from 1.2.7 to 1.2.9 in… #95
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 mkdocs via GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-main: | |
name: deploy main | |
runs-on: ubuntu-latest | |
steps: | |
- name: get latest release with tag | |
id: latestrelease | |
run: | | |
echo "::set-output name=releasetag::$(curl -s https://api.github.com/repos/MinBZK/Algoritmekader/releases/latest | jq '.tag_name' | sed 's/\"//g')" | |
- name: confirm release tag | |
run: | | |
echo ${{ steps.latestrelease.outputs.releasetag }} | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ steps.latestrelease.outputs.releasetag }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- run: mkdocs gh-deploy --force |