aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/doc_build.yml17
1 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/doc_build.yml b/.github/workflows/doc_build.yml
index 3d4e543d..85f93697 100644
--- a/.github/workflows/doc_build.yml
+++ b/.github/workflows/doc_build.yml
@@ -6,25 +6,18 @@ jobs:
plots:
name: Plots
runs-on: ubuntu-latest
- env:
- PROJ_EXE: proj
+ defaults:
+ run:
+ shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
- channels: conda-forge
- auto-update-conda: true
- - name: Setup
- shell: bash -l {0}
- run: |
- conda update -n base -c defaults conda
- conda install descartes shapely geopandas matplotlib proj
+ environment-file: docs/plot/environment.yml
- name: Plot
- shell: bash -l {0}
working-directory: ./docs/plot
- run: |
- ./plot.sh
+ run: ./plot.py plotdefs.json images/
- uses: actions/upload-artifact@v2
with: