Skip to content

Threads not processes #289

Threads not processes

Threads not processes #289

Workflow file for this run

name: Documentation tests
# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo}
# which is available as GITHUB_WORKSPACE. You can find other environment
# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables
on:
pull_request:
branches:
- develop
- v*-releases
paths:
- 'docs/**'
- mkdocs.yml
jobs:
build-docs:
runs-on: [self-hosted, vm]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-lint
cancel-in-progress: true
steps:
- name: Checkout code with two commits
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Ensure the docs build
run: |
cd ${GITHUB_WORKSPACE}/shakenfist
mkdir -p /srv/github/artifacts/site
/usr/bin/tox -edocs -- --site-dir /srv/github/artifacts/site | tee /srv/github/artifacts/site/build.log
cd /srv/github/artifacts/
zip -r /srv/github/artifacts/site.zip site
- uses: actions/upload-artifact@v4
if: always()
with:
name: site
retention-days: 90
if-no-files-found: error
path: /srv/github/artifacts/site.zip