-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hook-deploy CLI always creates new hook instead of updating existing #14
Comments
That shouldn't be happening. Are you seeing duplicate hooks with the same name? It shouldn't be possible to create multiple hooks with the same name. Can you provide steps to reproduce? |
Thank you for immediate response. hook.io looks very cool, but a bit uncrowned here and there.
Yes, just tried
Two last commands give the same message |
Thanks for the additional information. I agree that the production site still needs improvement, we are actively working on it. I'm guessing this issue may be because there isn't a Can you try running |
I also just noticed that the example code you posted isn't using the For more examples you can try deploying any of these folders: https://github.com/stackvana/microcule-examples |
* Ensures ENOENT package error is sent to user * Adds confirmation step to deploy * Adds yes/no CLI helper
* Can now deploy single files without package * Moves require logic from `Hook.deploy` to bin * Should resolve #14
Didn't mean to close the issue yet. I've updated The crux of the issue was that sdk client previously was unable to smoothly deploy single files without a valid We should be pushing out a new sdk release and production update soon. |
Thank you. Just hadn't found in the docs that I think also that By the way, where is the right place to ask questions or make feature requests? Is there some slack/gitter channel? Fill free to close the issue as my particular use-case is satisfied. |
Would it help at all if we exposed It might make more sense for you to create a custom deployment script doing something like: var sdk = require("hook.io-sdk");
var client = sdk.createClient({
// custom configuration goes here
});
client.hook.deploy(pkg, function (err, res){
console.log(err, res)
}); The best place to request features is as Github Issues or the related repos or using http://hook.io/wishlist |
Is that by design?
Currently I workaround this by creating custom update utility, but it's not convenient at all. Is there plans to allow passing config params through environment variables, i.e for CD needs?
The text was updated successfully, but these errors were encountered: