Releases: primer/deploy
v3.0.0 (2019-03-15)
💥 Breaking changes
-
We now run the
nowCLI that's installed in this package. Repos using this action should be able tonpm uninstall --save nowand speed up installations a bit. Fixes #10. -
We now pass
--no-verifyto thenowCLI by default, which should speed up deployments, especially ones that scale. If verification is important, you can either:- Pass the
--verifyargument viaargs = ["--verify"]in your Actions workflow; or - Add
{"@primer/deploy":{"verify":true}}to yourpackage.json.
Fixes #9.
- Pass the
🐛 Bug fixes
-
We now retry the initial ("root") deployment 3 times by default to work around some increasingly frequent and cryptic errors with no useful output. My hunch is that these were just intermittent failures that we can push through, which seems to have proven true (anecdotally at least) in primer/react#429.
To adjust the number of retries, pass
--retriesviaargs = ["--retries=x"]or add{"@primer/deploy":{"retries":x}}to yourpackage.json. Fixes #6. 🤞
🏠 Internal
- We now use
ecmaVersion: 2018in our ESlint config so that we can use native async/await in our tests.
v2.2.2
This release adds the primer/publish action so that we don't have to npm publish releases manually. ✨
v2.2.0
This release adds the ability to override the check status "context" of the deploy/alias checks that are created by the action. Just add a @primer/deploy object to your package.json like so:
{
"@primer/deploy": {
"status": {
"context": "auto-deployment"
}
}
}This release also switches us from using commit-status to action-status.