Browse Source

Merge pull request #1121 from doccano/enhancement/mkdocsWorkflow

Add a workflow to deploy mkdocs
pull/1122/head
Hiroki Nakayama 3 years ago
committed by GitHub
parent
commit
f6f6ad09ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions
  1. 18
      .github/workflows/mkdocs-deployment.yml
  2. 0
      docs/mkdocs.yml

18
.github/workflows/mkdocs-deployment.yml

@ -0,0 +1,18 @@
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@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: docs/mkdocs.yml

mkdocs.yml → docs/mkdocs.yml

Loading…
Cancel
Save