fuseki reasoning basics #13
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 | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build: | |
name: Build website | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python runtime | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Set up build cache | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- name: Install dependencies | |
run: sudo apt-get install pngquant | |
- name: Install Python dependencies | |
run: | | |
pip install \ | |
"cairosvg>=2.5" \ | |
"mkdocs-git-committers-plugin-2>=1.1.1" \ | |
"mkdocs-git-revision-date-localized-plugin>=1.0" \ | |
"mkdocs-minify-plugin>=0.3" \ | |
"mkdocs-rss-plugin>=1.2" \ | |
"mkdocs-redirects>=1.0" \ | |
"mkdocs-glightbox" \ | |
"mkdocs-git-authors-plugin" \ | |
"mkdocs-git-committers-plugin-2" \ | |
"pillow<10" | |
- name: Install Insiders build | |
if: github.event.repository.fork == false | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git | |
pip install -e mkdocs-material-insiders | |
- name: Deploy documentation | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
#GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} | |
run: | | |
mkdocs gh-deploy --force | |
mkdocs --version |