Skip to content

Commit

Permalink
Deploy documentation on pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Aug 26, 2024
1 parent 00bca54 commit ccc28de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Documentation
on:
push:
branches:
- 'main'
paths:
- 'docs/**'
- '.github/workflows/documentation.yml'

jobs:
mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
name: ci
name: Release
on:
release:
types: published

jobs:
mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

deploy:
runs-on: ubuntu-latest

Expand Down

0 comments on commit ccc28de

Please sign in to comment.