Move file under workflows

This commit is contained in:
kraptor 2021-01-13 18:36:21 +01:00
parent 09cffe83bf
commit b8caba09c1
2 changed files with 2 additions and 24 deletions

22
.github/mkdocs.yml vendored
View File

@ -1,22 +0,0 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v1
- 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: mkdocs.yml
EXTRA_PACKAGES: build-base

View File

@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- master
jobs:
build:
@ -19,4 +19,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: optionaldomain.com
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base
EXTRA_PACKAGES: build-base