Leo Lamprecht
3f4d419f78
Force new deployment if -n or -p defined
This closes #136
8 years ago
Leo Lamprecht
0db509d0b5
Missing greather-than-sign added
8 years ago
Leo Lamprecht
25fef39f1a
Ability to set name
This closes #150
8 years ago
Leo Lamprecht
1154873822
Show proper deploying message
8 years ago
Leo Lamprecht
8028b87531
Tell users that Bitbucket is available
8 years ago
Leo Lamprecht
fd0ff2fbf6
Make code naming for multiple platforms
8 years ago
Leo Lamprecht
b04ab0470b
Show cooler messages when deploying from other platforms
8 years ago
Leo Lamprecht
4a5de7321a
Much stricter repo URL checking
8 years ago
Leo Lamprecht
27b860d6fe
Only show examples related to `now deploy`
8 years ago
Leo Lamprecht
5d5a59d1b1
Make important info bold when error occurs
8 years ago
Leo Lamprecht
5fb53762eb
Show the git reference when deploying
8 years ago
Leo Lamprecht
04d58f2558
Throw error if URL is not valid
8 years ago
Leo Lamprecht
8075ffae4e
Show good looking messages when deploying Git URL
8 years ago
Leo Lamprecht
5d1cce8c1c
Respect git ref in error message
8 years ago
Leo Lamprecht
3e7634159e
Only show message if GH search takes long
8 years ago
Leo Lamprecht
d51a6024c7
Swallow errors, just check if falsy
8 years ago
Leo Lamprecht
c92d4dfb37
Clean up tmp dir for repo in a better way
8 years ago
Leo Lamprecht
fd24ea0c6a
Fixed tests
8 years ago
Leo Lamprecht
b9f9e71b9f
Neat loading animation for looking on GitHub
8 years ago
Leo Lamprecht
fe6bd9b1f2
Forgot to load fs-promise
8 years ago
Leo Lamprecht
43d0b5693a
Remove tmp dir for repo after deployment went ok
8 years ago
Leo Lamprecht
e16a6eaa30
Tell user that we're looking on GitHub
8 years ago
Leo Lamprecht
6a1837c4af
Make users able to deploy GitHub repos
8 years ago
Leo Lamprecht
04e50b24e4
Basic implementation for GitHub deployments
8 years ago
Jarmo Isotalo
1fb629da63
Fix regression where setting a single env variable with `-e` failed ( #141 )
8 years ago
Eric Ferraiuolo
ec76f6b706
Add `now.env` in package.json as env source ( #119 )
This adds package.json as new source for environment variables, which
are merged with `-e` CLI arguments (CLI args take precedence).
With the ability to specify environment variables in package.json,
developers don't need to remember which `-e` arguments to add, and
can simply run `now`.
```json
"now": {
"env": {
"foo": "bar"
}
}
```
The above is the same as running:
```
now -e foo=bar
```
Fixes #116
8 years ago
Olli Vanhoja
6d83be5f25
Now deploy env fixes ( #105 )
* Fix key and value checks
- key can't be empty string nor undefined or null
- value is always undefined if it's not set
* Fix crash if env key and value are missing when using -e
8 years ago
Jarmo Isotalo
d091240115
If `package.json` or `Dockerfile` is present, assume it's static ( #100 )
deployment
8 years ago
Leo Lamprecht
c5626178ed
Move files into content dir if static
8 years ago
Leo Lamprecht
243d068491
Detect static projects
8 years ago
Leo Lamprecht
fb89e1e2bb
Added enforcable deployment types
8 years ago
Leo Lamprecht
589d2fc72c
Removed static command
8 years ago
Leo Lamprecht
881f382a43
Remove unnecessary statement
8 years ago
Leo Lamprecht
8b56a13221
Deploy cwd if no path defined
8 years ago
Leo Lamprecht
e32bd818e4
Make binaries comply to linting rules
8 years ago
Leo Lamprecht
c67c051699
The binaries are made of JavaScript
8 years ago
Leo Lamprecht
076817309c
Group imports by kind
8 years ago
Leo Lamprecht
fb28ec4ba5
Empty line after binary indicator
8 years ago
Leo Lamprecht
3c7898b760
New line for each flag
8 years ago
Leo Lamprecht
f677786035
Added static sub-command to usage information
8 years ago
Leo Lamprecht
66711afaeb
Capitalize command descriptions
8 years ago
Nathan Rajlich
c2fa7e8565
document `secrets` and `certs` commands ( #168 )
* document `secrets` command in --help
* document `certs` command in --help
8 years ago
Nathan Rajlich
aa66f07cd5
deploy: document --npm and --docker
8 years ago
Jarmo Isotalo
65a7ee7158
Allow env value to contain '='
8 years ago
Guillermo Rauch
dc5a796677
improve error message for not finding a manifest file
8 years ago
Guillermo Rauch
69e23163f4
fix help
8 years ago
Naoyuki Kanezawa
85fc7fc336
fix the initial value of the env option ( #131 )
8 years ago
Guillermo Rauch
bf685a0dde
now-deploy: do not attempt to unescape non-string env values
8 years ago
Guillermo Rauch
a3fe6eda84
Add -e ( #126 )
* implement `-e`
* index: pass along `env` to `/create`
* index: add `listSecrets` method
* secrets: fix api calls
* support for escaping
8 years ago
Guillermo Rauch
cedf4a40bf
support for escaping
8 years ago