Skip to content

Merge pull request #44 from TUB-DVG/gh-pages2 #8

Merge pull request #44 from TUB-DVG/gh-pages2

Merge pull request #44 from TUB-DVG/gh-pages2 #8

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main # Trigger only on pushes to the main branch
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser sphinxcontrib-mermaid
- name: Sphinx build
run: |
sphinx-build webcentral/doc/06_sphinx/source build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.