Deploying to Now
is simple and easy, but deploying your app every time you make a change to your code, to send a link for a review or for staging, can be strenuous.
We put all our attention on solving this issue and the solution we came up with comes as an extension to the workflow a lot of developers already have.
We are proud to announce the Now app for GitHub.
With the Now app for GitHub, you no longer have to worry about deploying manually with each change of your code. You and your team can easily get a shareable link by creating, or pushing to, a pull request on any GitHub repository that you install the Now app to that also has a
The UI of a GitHub PR showing that Now has deployed the code changes.
Creating a pull request will trigger Now to begin deploying the code in the PR and provide a link almost instantaneously, right in the "checks" section of the pull request UI. All further changes to your PR will also be deployed, updating the link to your deployed app as you go.
With Now for GitHub, the latest code is always deployed, and always available on your browser, without you needing to do anything other than pushing to, or creating, a pull request.
Getting Started with Now and GitHub
If you're an existing user, to install the Now app you can head to your Account Settings
or the settings of the team you'd like to install the app for, then look for the "GitHub Integration" box. You can click the "Install Now for GitHub" to begin the process of adding Now to the account or organization of your choice.
If you have organizations associated with your GitHub account, you'll first be asked which of these, or your personal account, you'd like to add the Now app to. Selecting one will bring you to the next step, which allows you to pick specific repositories to add the app to, or all repositories.
Once you've selected the profile and repositories to install Now to, the app will be activated for those repositories. Note, however, that those repositories will need a
now.json file for the Now app to be able to start deploying pull requests.
Sign up and login with GitHub
Along with the Now app for GitHub, you can now sign up and login to ZEIT using your GitHub account. Just connecting the flow between two great platforms for developers seamlessly.
This change makes it especially easy for any new user to create a ZEIT account using the information they already have on GitHub and for current users to sign in with another easy, secure method.
The new sign up screen with a GitHub sign up option.
With this update, we really wanted to attend to new users with no experience with Now and help them find their way around our platform. This is realised in a brand new onboarding experience that takes new users through the basics of Now whilst they set up their account.
Signing has never been easier. We utilize the information you've already provided GitHub to set up your ZEIT account.
Through the sign up process, you can either set up a personal account or a team, right off the bat.
First Step: Select the type of account you want to create.
Using GitHub to set up your account
The next step of the sign up process will first prompt you to connect your GitHub account. Doing so will allow the next steps to be filled in with information that is pulled from your GitHub account, making it a lot easier to sign up!
After connecting with your GitHub organization you will see something like this.
We have given a lot of attention to creating an area for new users to learn how to use Now without being too much, too early. We decided that an optional stage during sign up was the best method. When you sign up, you will be prompted to install Now CLI
or Now Desktop
, install the Now app for GitHub and then you will be taught how to use it in a practical example, then optionally deploy using the CLI and alias after.
You’ll learn how to set up your repo and enable automatic deployments.
We hope this release of Now for GitHub and the integration of GitHub accounts on our own site will both help new and current users.
We've been paying attention to your feedback and this update is one of the steps we're taking towards the platform we envision to help everyone deploy their apps with ease.