Skip to content

Merge pull request #44 from 15r10nk/windows-support #21

Merge pull request #44 from 15r10nk/windows-support

Merge pull request #44 from 15r10nk/windows-support #21

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- deployed_docs
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- run: pip install poetry==1.2.2
- run: poetry export --with=doc -o doc_requirements.txt --without-hashes
- run: echo . >> doc_requirements.txt
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#CUSTOM_DOMAIN: optionaldomain.com
#CONFIG_FILE: folder/mkdocs.yml
#EXTRA_PACKAGES: build-base
# GITHUB_DOMAIN: github.myenterprise.com
REQUIREMENTS: doc_requirements.txt
- name: tag docs
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: deployed_docs