Skip to content

Commit

Permalink
task(mkdocs): deploy mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
svaponi committed Apr 19, 2024
1 parent 08c9ecb commit 3a81ac6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Docs
run-name: Deploy Docs 📄
on:
push:
branches:
- main
- 'task/mkdocs'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Requirements
run: |
sudo apt-get update &&
sudo apt-get install pngquant &&
pip install mkdocs-material mkdocs-material-extensions pillow cairosvg
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Build and deploy MkDocs
run: mkdocs gh-deploy --force

0 comments on commit 3a81ac6

Please sign in to comment.