Skip to content

Merge pull request #329 from vivian1912/master #151

Merge pull request #329 from vivian1912/master

Merge pull request #329 from vivian1912/master #151

Workflow file for this run

name: Publish Document
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Prepare build environment
run: |
sudo apt install python3-pip python3-dev python3-setuptools
sudo pip3 install -U mkdocs==1.3.0 pygments pymdown-extensions
- name: Build the document
run: mkdocs build
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: site # The folder the action should deploy.