Skip to content

docs: update GitHub website (#368) #174

docs: update GitHub website (#368)

docs: update GitHub website (#368) #174

Workflow file for this run

name: Update GitHub website
on:
push:
branches:
- master
paths:
- "docs/**"
- mkdocs.yml
- Pipfile
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.10
- run: python -m pip install --upgrade pipenv wheel
- run: pipenv update
- run: pipenv run mkdocs build
- uses: actions/checkout@v3
with:
ref: gh-pages
path: pages
- run: |
cp -v pages/index.yaml site/
- run: pipenv run ghp-import site -p --force