Skip to content

Merge pull request #293 from IntelLabs/ci/distro_python #98

Merge pull request #293 from IntelLabs/ci/distro_python

Merge pull request #293 from IntelLabs/ci/distro_python #98

Workflow file for this run

name: Documentation
permissions: {}
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
# fetch the whole history to get tags
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Build documentation 🔨
run: make html
working-directory: docs
# allow to serve dirs starting with _ (_static for example)
- name: Add .nojekyll
run: touch .nojekyll
working-directory: docs/build/html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
# note: folder doesn't care about the job's working directory
folder: docs/build/html