When we launched Now for GitHub in June last year,
our goal was to provide you with an easy way to deploy your latest changes
without any extra effort. The Now for GitHub integration allows for a seamless
workflow if you use GitHub for collaboration and Now for deployments.
Today, we would like to announce two major improvements to Now for GitHub:
Improved deployments interface
Improved forked repo deployment workflow
Better interface on GitHub and Slack
We now take advantage of GitHub's Deployment API
which enables us to provide a better interface around builds and deployments on GitHub.
The activity log for all deployments in the repository can be found on the
Combined with GitHub's first-class Slack integration, you get richer,
relevant, and timely information right into your Slack.
Going forward, every successfully deployed commit within a Pull Request gets a
staging label, as well as a View Deployment button next to it. This makes it easy
for you to quickly verify the build against every single commit.
Every successfully deployed commit in a Pull Request receives a View Deployment button.
Automated tests on successful deployments
GitHub's Deployment API
makes it possible to pass the URL of a successful Now deployment to other GitHub integrations that wait on a deployment to run.
Thanks to that, one can now run automated tests upon deployment, and use the
results from the tests to determine if a Pull Request should be merged.
There are 3rd party services available to help with the automated testing.
Together, Now and Ghost Inspector allow for catching and fixing expensive bugs
early on, and therefore, merging Pull Requests with confidence.
Integrating Ghost Inspector on top of Now for GitHub allows for dependable application monitoring and release.
Deployment authorizations for forked repos
If a Pull Request made from a forked repo to the parent attempts to
update now.json, we now fail the build and request an authorization from the parent repo.
This ensures that we only build for commits that are anticipated and helps keep
the source files further secure.
No more builds on forked repos
Previously, if a forked repo had Now for GitHub set up,
we would deploy commits pushed to the forked repo. This has sometimes led to conflicting
deployments, as well as errors with aliasing. To prevent this, we now only build commits on
the parent repo. If Now for GitHub is set up on the
forked repo, commits pushed to the forked repo don't build and deploy unless they're a part
of a Pull Request to the parent repo.
By preventing builds on forked repos, we are now able to avoid confusing aliasing errors such as the one
Our mission at ZEIT is to make the cloud accessible to all. In the case of developers,
one way we do this is by raising the industry standard for developer experience.
Now for GitHub is a big part of that initiative,
and we welcome any feedback, ideas or suggestions through our