Skip to content

doc: add release notes for file-system module (#1720) #77

doc: add release notes for file-system module (#1720)

doc: add release notes for file-system module (#1720) #77

#
# Build HTML documentation and upload it to GitHub Pages
#
name: Build and deploy documentation
on:
push:
paths:
- 'documentation/**/*.rst'
- 'documentation/**/conf.py'
# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
jobs:
build-documentation:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Check links
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/fraya/dylan-docs
options: -v ${{ github.workspace }}/documentation:/docs
run: make linkcheck
- name: Build documentation
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/fraya/dylan-docs
options: -v ${{ github.workspace }}/documentation:/docs
run: make html
- name: Bypassing Jekyll on GH pages
run: |
sudo touch documentation/_build/html/.nojekyll
- name: Deploy documents to GH pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: documentation/_build/html