Skip to content

ci(release): quote Python version to fix YAML parsing - 3.10 being pa… #51

ci(release): quote Python version to fix YAML parsing - 3.10 being pa…

ci(release): quote Python version to fix YAML parsing - 3.10 being pa… #51

Workflow file for this run

name: Build and publish doc
on:
push:
branches:
- main
- test-doc
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Python 3.8.15 ✅
id: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.8.15
- name: Poetry ✅
run: |
python -m pip install --upgrade pip
pip install poetry && poetry install
- name: Install dependencies ✅
run: |
poetry install --no-interaction --no-root
- name: Build Doc ✅
run: |
poetry run pdoc -o build pdf2dcm
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
token: ${{ secrets.GH_TOKEN }}