Skip to content

Commit

Permalink
Add mkdocs ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRejeb committed Sep 29, 2023
1 parent 0382ddf commit 7f4ec78
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: mkdocs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install pillow cairosvg
- run: pip install mkdocs-minify-plugin
- run: mkdocs gh-deploy --force
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ theme:
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
icon: material/weather-night
name: Switch to dark mode
primary: white
accent: white
- scheme: slate
toggle:
icon: material/toggle-switch
icon: material/weather-sunny
name: Switch to light mode
primary: teal
primary: red
accent: lime
font:
text: 'Roboto'
Expand Down

0 comments on commit 7f4ec78

Please sign in to comment.