Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Releases: primer/deploy

v3.0.0 (2019-03-15)

15 Mar 22:33
bc4097b
Compare
Choose a tag to compare

💥 Breaking changes

  • We now run the now CLI that's installed in this package. Repos using this action should be able to npm uninstall --save now and speed up installations a bit. Fixes #10.

  • We now pass --no-verify to the now CLI by default, which should speed up deployments, especially ones that scale. If verification is important, you can either:

    1. Pass the --verify argument via args = ["--verify"] in your Actions workflow; or
    2. Add {"@primer/deploy":{"verify":true}} to your package.json.

    Fixes #9.

🐛 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 --retries via args = ["--retries=x"] or add {"@primer/deploy":{"retries":x}} to your package.json. Fixes #6. 🤞

🏠 Internal

  • We now use ecmaVersion: 2018 in our ESlint config so that we can use native async/await in our tests.

v2.2.2

11 Feb 19:49
Compare
Choose a tag to compare

This release adds the primer/publish action so that we don't have to npm publish releases manually. ✨

v2.2.0

06 Feb 21:10
Compare
Choose a tag to compare

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.

v2.1.0

05 Feb 21:58
18136e8
Compare
Choose a tag to compare

This release includes:

  1. #4 Use action-status to create check statuses, which simplifies things over commit-status
  2. #3 Makes it possible to pass arguments via args = [..] in GitHub Actions workflows

v2.0.0

01 Feb 23:10
Compare
Choose a tag to compare

This release changes the way that the entrypoint (and primer-deploy) script receives arguments. Previously, all arguments were passed directly to the now CLI; with this change, we parse the arguments into options and only pass arguments after a -- to now. See #2 for more info.

v1.0.0

31 Jan 21:30
a9ec67c
Compare
Choose a tag to compare

This thing is ready to roll!