question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy & aliasing with Now 1.0

See original GitHub issue

I’m with Now 1.0, what’s the supposed workflow to deploy & alias with a single command?

In other words, how can I automate the deploy and aliasing like I used to do with now && now alias without the need to manually copy and paste the deployment URL?

(btw, a simple warning on the command line about the --prod flag not supported in v1 would be very welcomed… I spent 2h trying that out before realizing it was simply not supported in v1 😃 )

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
cristoforocommented, Sep 23, 2019

With now cli v16.2.0, the command now alias is not working anymore without the deployment url. What I get is: > Error! The provided argument "undefined" is not a valid deployment

2reactions
durdenxcommented, Oct 7, 2019

“alias” and “dotenv” props from now.json don’t work anymore with now v1. Impossible to push a new version of my app… My staging env is broken too. Now v1 no longer seems to be maintained at all… @cristoforo have you found a workaround ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy & aliasing with Now 1.0 · Issue #3061 - GitHub
I'm with Now 1.0, what's the supposed workflow to deploy & alias with a single command? In other words, how can I automate...
Read more >
serverless-aws-alias-new - npm
This plugin enables use of AWS aliases on Lambda functions. The term alias must not be mistaken as the stage. Aliases can be...
Read more >
Custom endpoint aliases - Elastic Cloud Enterprise
Custom aliases for your deployment endpoints on Elastic Cloud Enterprise allow you to have predictable, human-readable URLs that can be shared easily.
Read more >
How to override the module name of deployments? - JBoss.org
I had hoped to be able to use the ears jboss-deployment-structure.xml to alias the deployment and sub deployment: <?xml version="1.0" ...
Read more >
ASK CLI deploy omits lambda alias name in arn - Forums
So i now need my video skill to point to the alias instead of $LATEST. I updated the lambda arn in .ask/config file,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found