From b454de42798530390b7f4d0bb2ddb07affa3f765 Mon Sep 17 00:00:00 2001 From: kfir4444 Date: Tue, 19 Nov 2024 18:57:05 +0200 Subject: [PATCH] modified path variables --- .github/workflows/gh-pages.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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