Skip to content

Commit

Permalink
Transfer the CI pipeline for deploying GH Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
amaltaro committed Feb 21, 2025
1 parent 8a46fc2 commit 1c13dc6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Documentation CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # Needed for gh-deploy
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Important for git revision dates

- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs \
mkdocs-git-revision-date-localized-plugin \
pymdown-extensions
- name: Deploy documentation
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
mkdocs gh-deploy --force

0 comments on commit 1c13dc6

Please sign in to comment.