diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d229f4bab7..522468ae46 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -55,23 +55,27 @@ jobs: - name: Install dependencies run: | - export PYTHONPATH=$PYTHONPATH:$(pwd) + echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV + echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV conda activate arc_env cd .. git clone https://github.com/ReactionMechanismGenerator/RMG-database git clone https://github.com/ReactionMechanismGenerator/RMG-Py cd RMG-Py - export PYTHONPATH=$PYTHONPATH:$(pwd) + echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV + echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV make cd ../ARC/ conda deactivate - name: Compile docs run: | - export PYTHONPATH=$PYTHONPATH:$(pwd) + echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV + echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV conda activate arc_env cd ../RMG-Py - export PYTHONPATH=$PYTHONPATH:$(pwd) + echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV + echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV cd ../ARC/docs/ make html