Skip to content

Commit

Permalink
Merge pull request #2602 from ReactionMechanismGenerator/bad_pudding
Browse files Browse the repository at this point in the history
fix checkout command for docs building action
  • Loading branch information
hwpang authored Feb 5, 2024
2 parents 7bec814 + a5c7417 commit 551c3eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
cd RMG-Py
sed -i '/embedsignature/s/# //g' setup.py
make
- uses: actions/checkout@v2
with:
ref: gh-pages
path: build/html
- name: Make documentation - for testing
if: ${{ github.event_name != 'push' || github.repository != 'ReactionMechanismGenerator/RMG-Py' }}
run: |
Expand All @@ -58,8 +62,6 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
cd documentation
rm -rf build/html
git clone --single-branch --branch gh-pages --origin official [email protected]:ReactionMechanismGenerator/RMG-Py.git build/html
make html
- name: Check documentation links
continue-on-error: true
Expand Down

0 comments on commit 551c3eb

Please sign in to comment.