Skip to content

Merge pull request #160 from AI-SDC/update_table_suppression #177

Merge pull request #160 from AI-SDC/update_table_suppression

Merge pull request #160 from AI-SDC/update_table_suppression #177

Workflow file for this run

---
name: sphinx build
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.cff'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run sphinx
run: |
pip install -r ./docs/requirements.txt
sphinx-build -D todo_include_todos=0 ./docs/source ./docs/_build/html/
- name: Commit changes
run: |
git clone https://github.com/AI-SDC/ACRO.git --branch gh-pages --single-branch gh-pages
cp -r docs/_build/html/* gh-pages/
cd gh-pages
touch .nojekyll
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update documentation" -a || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: gh-pages
directory: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
...