Skip to content

Commit

Permalink
restore docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax committed Oct 25, 2023
1 parent 5c91c68 commit ae13436
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
name: Docs
name: Documentation

on:
push:
branches:
- master

jobs:
deploy-docs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout Repository
uses: actions/checkout@v2

- uses: mhausenblas/mkdocs-deploy-gh-pages@1.26 # https://github.com/mhausenblas/mkdocs-deploy-gh-pages/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set Up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install MkDocs and Material theme
run: |
pip install mkdocs
pip install mkdocs-material
- name: Build MkDocs Site
run: mkdocs build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .docs

0 comments on commit ae13436

Please sign in to comment.