Merge pull request #127 from fossology/feat/api-v2 #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Document Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
doc-deploy: | |
name: Deploy document pages | |
runs-on: ubuntu-latest | |
container: 'python:3.11-slim' | |
steps: | |
- name: Install host dependencies | |
run: | | |
apt-get -qq update | |
apt-get install -qqy gcc git rsync | |
- uses: actions/checkout@v2 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade poetry | |
poetry install --with=dev | |
- name: Build the documents | |
run: poetry run sphinx-build -b html docs-source docs | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |