Skip to content

Commit

Permalink
Merge pull request #453 from ReactionMechanismGenerator/docs
Browse files Browse the repository at this point in the history
Fix docs auto-deploy
  • Loading branch information
alongd committed May 1, 2021
2 parents 365035b + 9b88a00 commit 9e5d307
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cont_int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
make gcn-cpu
cd ..
echo $(pwd)
conda activate arc_env
conda list
- name: Lint with flake8
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,25 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2

- name: Set up miniconda Python 3.8
- name: Set up miniconda Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: arc_env
environment-file: environment.yml
python-version: 3.8
activate-environment: arc_env
python-version: 3.7
auto-activate-base: false

- name: Install dependencies and compile the docs
shell: bash -l {0}
- name: Install codecov
run: conda install -y -c conda-forge codecov

- name: Install dependencies
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
conda activate arc_env
Expand All @@ -34,11 +39,14 @@ jobs:
cd ..
git clone https://github.com/ReactionMechanismGenerator/RMG-database
cd ARC
conda deactivate
make gcn-cpu
cd ..
echo $(pwd)
conda activate arc_env
conda list
- name: Compile docs
shell: bash -l {0}
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
conda activate arc_env
Expand Down

0 comments on commit 9e5d307

Please sign in to comment.