Skip to content

Commit bca9834

Browse files
authored
Merge pull request #163 from knutfrode/dev
Sphinx build -> needs: build
2 parents c3f6a07 + 7ed1fe8 commit bca9834

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
os: ["ubuntu", "macos", "windows"]
2121
python-version: [ '3.9', '3.10', '3.11' ]
2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: mamba-org/setup-micromamba@v1
23+
- uses: actions/checkout@v4
24+
- uses: mamba-org/setup-micromamba@v2
2525
with:
2626
environment-file: environment.yml
2727
channels: conda-forge
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Cache cartopy maps
3737
id: cache-cartopy
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: ~/.local/share/cartopy
4141
key: cartopy-maps

.github/workflows/sphinx-rtd.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
shell: bash -l {0}
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

34-
- uses: mamba-org/setup-micromamba@v1
34+
- uses: mamba-org/setup-micromamba@v2
3535
with:
3636
environment-file: environment.yml
3737
channels: conda-forge
@@ -64,9 +64,8 @@ jobs:
6464
- name: Upload artifact
6565
uses: actions/upload-pages-artifact@v4
6666
with:
67-
name: my-artifact-${{ matrix.runs-on }}
67+
name: docs
6868
path: ./docs/build/html
69-
overwrite: true
7069

7170
# Deployment job
7271
deploy:
@@ -80,13 +79,3 @@ jobs:
8079
- name: Deploy to GitHub Pages
8180
id: deployment
8281
uses: actions/deploy-pages@v4
83-
84-
merge:
85-
runs-on: ubuntu-latest
86-
needs: upload
87-
steps:
88-
- name: Merge Artifacts
89-
uses: actions/upload-artifact/merge@v4
90-
with:
91-
name: all-my-files
92-
pattern: my-artifact-*

0 commit comments

Comments
 (0)