Skip to content

Commit

Permalink
Add GitHub Pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Oct 11, 2024
1 parent f9fa567 commit ecceb2b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy mkdocs site to Pages

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PAT }}
- uses: actions/setup-python@v2
- run: pip install -e mkdocs-material-insiders
- run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
user_name: GitHub Actions
user_email:

0 comments on commit ecceb2b

Please sign in to comment.