File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : deploy-book
2+
3+ on :
4+ # Trigger the workflow on push to main branch
5+ push :
6+ branches :
7+ - main
8+
9+ env :
10+ BASE_URL : /${{ github.event.repository.name }}
11+
12+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
13+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+ deploy-book :
20+ runs-on : ubuntu-latest
21+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
22+ permissions :
23+ pages : write
24+ id-token : write
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ # Install dependencies
29+ - name : Set up Python 3.11
30+ uses : actions/setup-python@v5
31+ with :
32+ python-version : " 3.11"
33+ cache : pip # Implicitly depends upon requirements.txt
34+
35+ - name : Install dependencies
36+ run : pip install -r requirements.txt
37+
38+ # Build the book
39+ - name : Build the book
40+ run : jupyter-book build .
41+
42+ # Upload the book's HTML as an artifact
43+ - name : Upload artifact
44+ uses : actions/upload-pages-artifact@v3
45+ with :
46+ path : " _build/html"
47+
48+ # Deploy the book's HTML to GitHub Pages
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- contextily ~= 1.3.0
2- geopandas ~= 0.13.2
3- folium ~= 0.14.0
4- h5py ~= 3.8.0
5- harmony-py ~= 0.4.9
6- IPython ~= 8.12.2
7- matplotlib ~= 3.7.1
8- matplotlib_scalebar ~= 0.8.1
9- netCDF4 ~= 1.6.4
10- numpy ~= 1.24.3
11- owslib ~= 0.29.2
12- pandas ~= 2.0.2
13- pydap ~= 3.4.1
14- rasterio ~= 1.3.7
15- rasterstats ~= 0.19.0
16- requests ~= 2.31.0
17- s3fs ~= 2023.6.0
18- seaborn ~= 0.12.2
19- scipy ~= 1.10.1
20- shapely ~= 2.0.1
21- tabulate ~= 0.9.0
1+ jupyter-book
2+ matplotlib
3+ numpy
4+ ghp-import
5+ sphinxcontrib-mermaid
You can’t perform that action at this time.
0 commit comments