ci: docs-preview-deploy.yml
- Use official v4 download-artifact
#3838
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Unverified, but should match what the v4 docs expect.
This action is handles initial setup of the deployment workflow (for doc previews to Netlify).
EDIT: This was accidentally merged with a bug because I'm an idiot that missed the difference in similar parameter name due to
_
=>-
.Reference:
Context
The 1st part that builds docs for PRs without trust for security reasons (as documented in the original PR for this workflow) uploads the artifact to be deployed as shown here:
docker-mailserver/.github/workflows/docs-preview-prepare.yml
Lines 52 to 80 in 9ac1102
With required secrets in deployment (GH Token + Netfliy):
docker-mailserver/.github/workflows/docs-preview-deploy.yml
Lines 63 to 64 in 9ac1102
Type of change