Skip to content

Commit 456c621

Browse files
committed
Include docs build test on PR through deploy workflow
1 parent 9b350de commit 456c621

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build and Deploy docs
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build-docs:
@@ -18,14 +18,14 @@ jobs:
1818
- name: Build environment
1919
shell: bash -l {0}
2020
run: |
21-
conda create --name IOOS --file .binder/conda-linux-64.lock
22-
source activate IOOS
21+
conda create --name OHW-site --file .binder/conda-linux-64.lock
22+
source activate OHW-site
2323
conda install rb-bundler compilers
2424
bundle install
2525
- name: Build documentation
2626
shell: bash -l {0}
2727
run: |
28-
source activate IOOS
28+
source activate OHW-site
2929
bundle exec jekyll build --verbose
3030
3131
- name: Deploy

0 commit comments

Comments
 (0)