Skip to content

Commit

Permalink
docs: set up gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ajasnosz committed Oct 3, 2024
1 parent 54e7f4c commit bf3a8db
Show file tree
Hide file tree
Showing 4 changed files with 642 additions and 13 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci
on:
push:
branches:
- main
- develop
tags:
- "v*"

permissions:
contents: write

jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install mkdocs-material
pip install mike
- name: Setup git user
run: |
git config --global user.name ${{github.actor}}
git config --global user.email ${{ github.actor }}@users.noreply.github.com
- name: Build docs website
run: mike deploy --push ${GITHUB_REF##*/}
Loading

0 comments on commit bf3a8db

Please sign in to comment.