TrueChartsClone/.github/workflows/docs.deploy.yaml

26 lines
512 B
YAML
Raw Normal View History

name: "Docs: Deploy"
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'docs/**'
- '.github/workflows/docs.deploy.yaml'
- 'mkdocs.yml'
jobs:
build:
name: Deploy Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}