Skip to content

feat(repersonlization): add customizable fields (#59) #22

feat(repersonlization): add customizable fields (#59)

feat(repersonlization): add customizable fields (#59) #22

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@v3
- name: Python 3.8.15 βœ…
id: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.8.15
- name: Poetry βœ…
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv ❓
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies βœ…
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Build Doc βœ…
run: |
poetry run pdoc --html -o build pdf2dcm
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
token: ${{ secrets.GH_TOKEN }}