Skip to content

Commit

Permalink
run checkout command twice, once per needed branch
Browse files Browse the repository at this point in the history
this was originally cloning main and then gh-pages, restoring this behavior (but using the checkout step rather than manually git calls) since the environment.yml file stored in main is needed for later steps
  • Loading branch information
JacksonBurns authored Feb 5, 2024
1 parent 10619d6 commit a5c7417
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
with:
ref: gh-pages
path: build/html
- name: Setup Mambaforge Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down Expand Up @@ -46,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 Down

0 comments on commit a5c7417

Please sign in to comment.