Skip to content

Commit

Permalink
add ci workflow for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniospneto committed Feb 25, 2025
1 parent 8b470e4 commit 93ce46a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build GitHub Pages (Docs)

on:
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Install dependencies
run: pip install mkdocs-material
- name: Build and Deploy MkDocs site
run: mkdocs gh-deploy --force
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Pre-commit

on:
[push, pull_request]

Expand Down

0 comments on commit 93ce46a

Please sign in to comment.