Skip to content

#27 - Adapted docs/README.md to MKDocs, fixed relative links in the f… #2

#27 - Adapted docs/README.md to MKDocs, fixed relative links in the f…

#27 - Adapted docs/README.md to MKDocs, fixed relative links in the f… #2

Workflow file for this run

name: Build and publish documentation to GitHub Pages
on:
push:
branches:
- feature/*
- master
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-22.04
# container:
# image: python:3.9
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Python dependencies
run: pip install -r docs/requirements.txt

Check failure on line 24 in .github/workflows/docs-publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs-publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 24
- name: Build, validate documentation using MkDocs
run: |
# git config --global --add safe.directory /__w/rmk/rmk
mkdocs build --verbose --clean --strict
rm -r site/
- name: Configure Git
# if: startsWith(github.ref, 'refs/tags/')
id: git-configuration
run: |
echo "Configure Git user.name and user.email."
git config user.name github-actions
git config user.email github-actions@github.com
echo tag=${GITHUB_REF#refs/tags/} >> "${GITHUB_OUTPUT}"
- name: Build, publish, version documentation using Mike
# if: startsWith(github.ref, 'refs/tags/')
run: |
# mike deploy --update-aliases --push --rebase ${{ steps.git-configuration.outputs.tag }} latest