Skip to content

Commit

Permalink
setup ipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Oct 11, 2024
1 parent 4c11e4d commit eafc80d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/doc-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docs Build

on:
pull_request:
branches:
- '**'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
pip install -r docs/requirements.txt
- name: Build docs
run: |
cd docs
doxygen
make html
touch _build/html/.nojekyll
3 changes: 0 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit eafc80d

Please sign in to comment.