Skip to content

Commit 2eda5fe

Browse files
committed
[doc] deploy doc in git workflow
1 parent b20d6b3 commit 2eda5fe

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
CC: ${{ matrix.cc }}
8080
CXX: ${{ matrix.cxx }}
8181
run: |
82-
git clone https://github.com/TRIQS/triqs --branch 3.2.x
82+
git clone https://github.com/TRIQS/triqs --branch 3.2.1
8383
mkdir triqs/build && cd triqs/build
8484
cmake .. -DBuild_Tests=OFF -DCMAKE_INSTALL_PREFIX=$HOME/install
8585
make -j1 install VERBOSE=1
@@ -102,3 +102,11 @@ jobs:
102102
source $HOME/install/share/triqs/triqsvars.sh
103103
cd build
104104
ctest -j2 --output-on-failure
105+
106+
- name: Deploy documentation to website
107+
if: matrix.doc == 'ON'
108+
uses: JamesIves/github-pages-deploy-action@v4
109+
with:
110+
folder: build/doc/html
111+
branch: github.io
112+
target-folder: docs/3.2.1

0 commit comments

Comments
 (0)