Skip to content

Commit

Permalink
Build on documentation push
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Mar 11, 2024
1 parent e512591 commit c9f04cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: generate documentation

# only trigger this action on specific events
# triggers
on:
push:
branches:
- master
- add_doxygen
- documentation
pull_request:
branches:
- master
Expand All @@ -24,19 +24,19 @@ jobs:
run: |
sudo apt update
sudo apt-get install -y doxygen graphviz
# configure project via CMake
# CMake
- name: Configure
run: |
cd cppuddle
mkdir build
cd build
cmake -DCPPUDDLE_WITH_DOCUMENTATION=ON ..
# build project
# make
- name: Generate
run: |
cd cppuddle/build
make doc
# deploy generated documentation using github.io
# deploy to github pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit c9f04cf

Please sign in to comment.