Skip to content

Commit 2d37a02

Browse files
committed
GHA: Fix update workflow
1 parent d0e5d72 commit 2d37a02

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/update.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
on: # yamllint disable-line rule:truthy
77
workflow_dispatch:
88
inputs:
9-
runid:
9+
run-id:
1010
description: 'GHA docs workflow run ID'
1111
required: true
1212
type: string
@@ -29,13 +29,11 @@ jobs:
2929
uses: actions/checkout@v4
3030

3131
- name: Download documentation artifact
32-
run: |
33-
gh run download \
34-
--repo mpi4py/mpi4py \
35-
--name mpi4py-docs \
36-
${{ inputs.runid }}
37-
env:
38-
GITHUB_TOKEN: ${{ github.token }}
32+
uses: actions/download-artifact@v4
33+
with:
34+
repository: mpi4py/mpi4py
35+
run-id: ${{ inputs.run-id }}
36+
name: mpi4py-docs
3937

4038
- name: Update documentation contents
4139
run: |
@@ -57,7 +55,9 @@ jobs:
5755
version=$(cat version)
5856
git add $version stable
5957
git commit -m $version
60-
git show --stat
58+
59+
- name: Show changes
60+
run: git show --stat
6161

6262
- name: Push changes
6363
if: ${{ inputs.push }}

0 commit comments

Comments
 (0)