Skip to content

Add badge to indicate whether tests are passing #30

Add badge to indicate whether tests are passing

Add badge to indicate whether tests are passing #30

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@v3
with:
python-version: '3.x'
- name: Build
run: |
python -m pip install --upgrade pip
pip install pdoc3
pdoc --html --output-dir tmp --force src/wslPath
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./tmp