Skip to content

Commit 1563e11

Browse files
committed
fix doc deploy
1 parent f933e3c commit 1563e11

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/buildAndDocumentation.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,17 @@ jobs:
164164
cmake .. -DDGtal_DIR=${{runner.workspace}}/DGtal/buildDGtal
165165
wget --no-check-certificate -O "${{runner.workspace}}/DGtalTools/build/DGtal-tagfile" http://dgtal.org/doc/tags/DGtal-tagfile;
166166
make doc > buildDoc.log
167-
167+
- name: Preparing deploy
168+
run: |
169+
git clone --depth 2 https://github.com/DGtal-team/doctools-nightly.git
170+
ls build/
171+
pwd
172+
du -hs build/html
173+
cd build/html
174+
cp -r * ../../doctools-nightly/
168175
- name: Deploy to GitHub Pages
169176
uses: JamesIves/github-pages-deploy-action@v4
170-
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
177+
# if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
171178
with:
172179
token: ${{ secrets.DGTALTOOLSDOC }}
173180
branch: master

0 commit comments

Comments
 (0)