Skip to content

FIX: fixed docs action #5

FIX: fixed docs action

FIX: fixed docs action #5

Workflow file for this run

name: Build and publish docs
on:
push:
branches:
- master
jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v2
- uses: actions/setup-python@v4
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: "Create requirements.txt"
run: poetry export --without-hashes --format=requirements.txt --only=docs > requirements.txt
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: "requirements.txt"
- name: cleanup
run: rm -f requirements.txt