deploy-pages
deploy-pages copied to clipboard
Add support for artifact_id input and improve artifact selection for …
improvements:
-
Adds a new input artifact_id to allow explicit deployment by artifact ID, addressing ambiguity when multiple artifacts share the same name.
-
If artifact_id is provided, it is used for both deployment and as the unique build version, improving reliability for reruns and special workflow events.
-
Updates documentation (README.md and action.yml) to describe the new input and clarify its behavior.
-
Adds a warning in the documentation about file modification dates being overridden by GitHub Pages.
-
Adds and passes tests for the new logic.
Usage Example:
- uses: actions/deploy-pages@v4 with: artifact_id: ${{ steps.upload.outputs.artifact-id }}
If artifact_id is set, it overrides artifact_name and is used for both deployment and as the build version.
pls review and let me know