INSTALL.md: add steps for Arch/Manjaro (#1072) #126
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: Docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install mkdocs | |
run: pip install mkdocs | |
- name: Build docs | |
run: mkdocs build --strict | |
deploy: | |
if: github.ref == 'refs/heads/main' | |
needs: build | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install mkdocs | |
run: pip install mkdocs | |
- name: Publish docs | |
run: mkdocs gh-deploy --no-history |