Skip to content

Commit

Permalink
git hub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shokrof committed Sep 21, 2023
1 parent af1fea0 commit 9add1cf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: mkdocs
on:
push:
branches:
- main
- gh-pages
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs mkdocs-material mkdocs-simple-blog mkdocs-jupyter mkdocs-glightbox
- run: mkdocs gh-deploy --config-file mkdocs.yml --force

0 comments on commit 9add1cf

Please sign in to comment.