Skip to content

Refactor web access (#93) #142

Refactor web access (#93)

Refactor web access (#93) #142

Workflow file for this run

name: Publish
on:
push:
branches:
- main
- scanner-graphql
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
if [ -f docs/requirements.txt ]; then pip install -r docs/requirements.txt; fi
pip install mkdocstrings
pip install mkdocstrings-python
- name: Build
run: |
mkdocs build
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site