1.3.7 • Published 5 years ago

now-cd v1.3.7

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

 

Each pull request gets it's own deployment instance https://{author}-{repo}-{branch-name}.now.sh

This is updated on every commit to the matching pull request.

The master branch is deployed on https://{author}-{repo}.now.sh

 

install

You need 2 tokens for now-cd to work

  1. now API token

    You can generate a token from account/tokens. Call it NOW_CD_TOKEN

  2. Github API token

    You can generate a token from settings/tokens/new, call it NOW_CD_GITHUB_TOKEN

Now set these in travis repository settings This is how.

 

usage

add this to .travis.yml:

after_success:
  - npx now-cd

 

custom per-branch aliases

use the --alias option to set custom aliases per-branch:

npx now-cd --alias "master=myapp.com" --alias "staging=staging.myapp.com"

all commits to master will now be aliased to myapp.com, and all commits to the staging branch will now be aliased to staging.myapp.com!

 

team account

use the --team option to mention your team name

npx now-cd --team auth0-design

 

like it?

:star: this repo

 

license

MIT © siddharthkp

1.3.7

5 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.0

6 years ago