Skip to content

Update github-actions.md #226

Update github-actions.md

Update github-actions.md #226

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install MkDocs Material
run: pip install mkdocs-material
- name: Deploy MkDocs
run: |
git fetch origin gh-pages:gh-pages
mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}