docker-documentation/.github/workflows/deploy.yml

25 wiersze
554 B
YAML
Czysty Zwykły widok Historia

name: Deploy docs to GitHub Pages via mkdocs
on:
push:
branches:
- mkdocs
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2.2.1
with:
python-version: 3.x
- run: pip install -r docs/requirements.txt
- run: cp README.md docs/
# temp line for test conversion repo
- run: |
cp -R general docs/
cp -R images docs/
cp -R FAQ.md docs/
- run: mkdocs gh-deploy --force