diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f8cd0010af..58069e874a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -26,7 +26,7 @@ jobs: haskell: true large-packages: true swap-storage: true - + - name: Setup Mambaforge Python 3.7 uses: conda-incubator/setup-miniconda@v2 with: @@ -37,10 +37,10 @@ jobs: python-version: 3.7 use-mamba: true - - name: Update environment - run: | - mamba env update -n arc_env -f environment.yml - conda list + # - name: Update environment + # run: | + # mamba env update -n arc_env -f environment.yml + # conda list - name: Install LaTeX run: | @@ -57,14 +57,13 @@ jobs: run: | 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 echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV - make + conda activate arc_env && make cd ../ARC/ - name: Compile docs @@ -76,7 +75,7 @@ jobs: echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> $GITHUB_ENV echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV cd ../ARC/docs/ - make html + conda activate arc_env && make html - name: Deploy uses: peaceiris/actions-gh-pages@v3.7.3