Skip to content

Remove to_pdf because the dependencies of weasyprint are complex,… #122

Remove to_pdf because the dependencies of weasyprint are complex,…

Remove to_pdf because the dependencies of weasyprint are complex,… #122

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Build
run: |
python -m pip install -U pip
python -m pip install -e .
python -m pip install pdoc3
pdoc --html --output-dir tmp --force src/cstag
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./tmp