Skip to content

Commit 0ceaa27

Browse files
committed
chore(ci): download preview artifact from previous workflow run
1 parent 03c612e commit 0ceaa27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/adev-preview-deploy.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
runs-on: ubuntu-latest
2626
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2727
steps:
28-
- uses: actions/download-artifact@v4
28+
- name: Download adev preview artifact from previous workflow run
29+
uses: actions/download-artifact@v4
2930
with:
30-
github-token: '${{secrets.GITHUB_TOKEN}}'
3131
name: adev-preview
32+
github-token: '${{secrets.GITHUB_TOKEN}}'
33+
run-id: ${{ github.event.workflow_run.id }}
3234
- run: ls -R
3335
- name: Extract pull request number
3436
run: |

0 commit comments

Comments
 (0)