Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maint] fix the download and deploy part of workflow (#380)
# References and relevant issues The second part, deployment, of the new unified workflow is failing: `Error: Unable to download artifact(s): Artifact not found for name: docs` https://github.com/napari/docs/actions/runs/8457634044/job/23170039408 If you check the timestamps it's running *concurrently* with the `build&upload` job, so the artifact probably isn't there to download. Additionally, I think the `publish_dir` is wrong, because it's the dir the docs were built into, but now the docs are being downloaded as an artifact, so the artifact should be used. # Description In this PR: - I make the 2nd job depend on the completion of the first using `needs` - I change the name to `Download & Deploy` to reduce confusion with the previous job. - I think the extra `path` in for the `actions/download-artifact@v4` step is spurious, so I delete it. - fix the `publish_dir` of the deploy action to use the downloaded artifact
- Loading branch information