Skip to content

Commit

Permalink
Update to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fstueber committed Jul 31, 2024
1 parent d6e0378 commit a61c10b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
name: Build and publish MkDocs website
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Checkout repo content
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-minify-plugin
- run: mkdocs gh-deploy --force
- name: Install dependencies
run: pip install mkdocs-material mkdocs-minify-plugin
- name: Deploy MkDocs docu to GitHub Pages
run: mkdocs gh-deploy --force
working-directory: website

0 comments on commit a61c10b

Please sign in to comment.