Skip to content

Merge pull request #433 from Simyung/master #227

Merge pull request #433 from Simyung/master

Merge pull request #433 from Simyung/master #227

Workflow file for this run

# GCLINE@ 03SEP2020
name: deploy to mkdocs
# the two different ways to trigger the workflow
on:
# enable manual trigger button in github actions web
workflow_dispatch:
# enable auto trigger based on both path and branch
push:
# only main branch
branches:
- main
- master
# at least one changed file must match this path
paths:
- 'content/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-static-i18n==1.2.0
- run: mkdocs gh-deploy --force
#jobs:
# build:
# name: Deploy docs
# runs-on: ubuntu-latest
# steps:
# - name: Checkout master
# uses: actions/checkout@v2
# - name: Deploy docs
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CONFIG_FILE: mkdocs.yml