Skip to content

Merge pull request #12 from PyThaiNLP/korakot-patch-6 #99

Merge pull request #12 from PyThaiNLP/korakot-patch-6

Merge pull request #12 from PyThaiNLP/korakot-patch-6 #99

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install mkdocs mkdocs-rtd-dropdown
- name: Build docs
run: |
mkdocs build
cp CNAME ./site/CNAME
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: site # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch