Skip to content

Commit

Permalink
Merge pull request #15 from opengisch/splitCi
Browse files Browse the repository at this point in the history
Deploy documentation on pushes to main
  • Loading branch information
domi4484 authored Aug 26, 2024
2 parents 00bca54 + ccc28de commit 311a006
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 311a006

Please sign in to comment.