Skip to content

Merge pull request #108 from CodethinkLabs/bobclough/suitecrm_disable… #167

Merge pull request #108 from CodethinkLabs/bobclough/suitecrm_disable…

Merge pull request #108 from CodethinkLabs/bobclough/suitecrm_disable… #167

Workflow file for this run

name: Generate Documentation
on:
- push
- pull_request
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Build Docs
run: |
sudo apt install -y python3-sphinx python3-sphinx-rtd-theme python3-ldap3
sudo pip install addict
make -C docs html SPHINXOPTS="-W --keep-going"
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v1
with:
name: documentation
path: docs/build/html
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5
if: startsWith(github.ref, 'refs/tags')
needs: generate
permissions:
pages: write
id-token: write
steps:
- name: Deploy Pages artifact on tag
id: deployment
uses: actions/deploy-pages@v1
with:
artifact_name: documentation