Skip to content

Commit 551c3eb

Browse files
authored
Merge pull request #2602 from ReactionMechanismGenerator/bad_pudding
fix checkout command for docs building action
2 parents 7bec814 + a5c7417 commit 551c3eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
cd RMG-Py
4444
sed -i '/embedsignature/s/# //g' setup.py
4545
make
46+
- uses: actions/checkout@v2
47+
with:
48+
ref: gh-pages
49+
path: build/html
4650
- name: Make documentation - for testing
4751
if: ${{ github.event_name != 'push' || github.repository != 'ReactionMechanismGenerator/RMG-Py' }}
4852
run: |
@@ -58,8 +62,6 @@ jobs:
5862
git config user.name github-actions
5963
git config user.email [email protected]
6064
cd documentation
61-
rm -rf build/html
62-
git clone --single-branch --branch gh-pages --origin official [email protected]:ReactionMechanismGenerator/RMG-Py.git build/html
6365
make html
6466
- name: Check documentation links
6567
continue-on-error: true

0 commit comments

Comments
 (0)