This release introduces two new input options!
allow_sha_deployments
- Enable deployments to exact SHA1 or SHA256 hashes that represent a point-in-time in your commit historydisable_naked_commands
- Prevent naked deploy commands and enforce environment usage in your commands
These new input options can be enabled like so:
- uses: github/[email protected]
id: branch-deploy
with:
allow_sha_deployments: "true" # <-- allow deployments to SHA hashes
disable_naked_commands: "true" # <-- prevent the use of .deploy without a specific <environment>
Both of these new input options are disabled by default but can be enabled if you choose to do so. Please ensure you read the documentation about each option before toggling them on as they can drastically change the behavior of this Action
Documentation:
What's Changed
- sha deployments by @GrantBirki in #212
- Prevent Naked Deploys by @GrantBirki in #214
- Update Action Workflows by @GrantBirki in #215
- Dependencies by @GrantBirki in #216
- Output msg fixes by @GrantBirki in #217
Thanks to @tiagonbotelho for the SHA deployment suggestion and @mnaser for UX suggestions with disabling "naked commands"
Full Changelog: v8.0.0...v8.1.0