Skip to content

change the "CS" to "cs" #108

change the "CS" to "cs"

change the "CS" to "cs" #108

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