use download workflow artifacts
This commit is contained in:
parent
411285d313
commit
0197cc05b8
1 changed files with 7 additions and 2 deletions
|
@ -12,9 +12,14 @@ jobs:
|
|||
if: github.event.issue.pull_request && contains(github.event.comment.body, '/deploy')
|
||||
steps:
|
||||
- run: apk add nodejs curl
|
||||
- uses: forgejo/download-artifact@v4
|
||||
- name: Get PR branch
|
||||
uses: xt0rted/pull-request-comment-branch@v1
|
||||
id: comment-branch
|
||||
- run: echo ${{ steps.comment-branch.outputs.head_sha }}
|
||||
- run: echo ${{ steps.comment-branch.outputs.head_ref }}
|
||||
- uses: dawidd6/action-download-artifact@v6
|
||||
with:
|
||||
name: package
|
||||
commit: ${{ steps.comment-branch.outputs.head_sha }}
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Deploying..."
|
||||
|
|
Loading…
Reference in a new issue