Skip to content

Commit 2d72b03

Browse files
authored
Merge pull request #2436 from ReactionMechanismGenerator/docs-build-fix
Fix Documentation Build
2 parents c738227 + 5904ef2 commit 2d72b03

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@ jobs:
4444
cd RMG-Py
4545
sed -i '/embedsignature/s/# //g' setup.py
4646
make
47-
- name: Make documentation
47+
- name: Make documentation - CI
48+
if: ${{ github.event_name != 'push' || github.repository != 'ReactionMechanismGenerator/RMG-Py' }}
49+
run: |
50+
make -C documentation continous_integration_setup clean html
51+
- name: Make documentation - Publish
52+
if: ${{ github.event_name == 'push' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }}
53+
env:
54+
GH_TOKEN: ${{ secrets.RMG_DEV_TOKEN }}
4855
run: |
4956
make -C documentation continous_integration_setup clean html
5057
- name: Check documentation links

0 commit comments

Comments
 (0)