23 lines
410 B
YAML
23 lines
410 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.7
|
|
|
|
- name: Build and deploy
|
|
run: |
|
|
cp README.md docs/index.md
|
|
pip install -r requirements.txt
|
|
mkdocs build
|
|
mkdocs gh-deploy --force
|