mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-13 03:17:56 +02:00
ci: docs-preview-deploy.yml
- Switch to official download-artifact
action (#3838)
v4 of the official action now supports this use-case.
This commit is contained in:
parent
9ac11021e1
commit
a8ccd54da5
7
.github/workflows/docs-preview-deploy.yml
vendored
7
.github/workflows/docs-preview-deploy.yml
vendored
@ -23,14 +23,13 @@ jobs:
|
||||
# Restore workflow context #
|
||||
# ======================== #
|
||||
|
||||
# The official Github Action for downloading artifacts does not support multi-workflow
|
||||
# Retrieve the artifact uploaded from `docs-preview-prepare.yml` workflow run that triggered this deployment
|
||||
- name: 'Download build artifact'
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: preview-build
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
workflow: docs-preview-prepare.yml
|
||||
name: preview-build
|
||||
|
||||
- name: 'Extract build artifact'
|
||||
run: tar -xf artifact.tar.zst
|
||||
|
Loading…
x
Reference in New Issue
Block a user