Skip to content

Commit 5fa6757

Browse files
committed
Added a deploy_mkdocs file
1 parent 9ef6b7d commit 5fa6757

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish docs via GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
name: Deploy docs
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout main
13+
uses: actions/checkout@v2
14+
15+
- name: Deploy docs
16+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
17+
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.AUTO_TOKEN }}
20+
CUSTOM_DOMAIN: optionaldomain.com
21+
CONFIG_FILE: folder/mkdocs.yml
22+
EXTRA_PACKAGES: build-base
23+
# GITHUB_DOMAIN: github.myenterprise.com
24+
REQUIREMENTS: folder/requirements.txt

0 commit comments

Comments
 (0)