netlify / netlifyctl

MIT License
176 stars 34 forks source link

Failed deploy does not exit neither gives an error message #152

Open danielo515 opened 4 years ago

danielo515 commented 4 years ago

Hello. I'm using this tool for deploy my site after my build pipeline has ended, and it is failing in the last step without any explanation and the worst thing, it does not exits,it just hangs and my CI has to timeout.

This is the command:

./netlifyctl -A "$NETLIFY_TOKEN" deploy --draft --site-id "$NETLIFY_SITE_ID" --publish-directory ./dist

Everything goes well until it starts uploading. Here is the entire log:

$ ./netlifyctl -A "$NETLIFY_TOKEN" deploy --draft --site-id "$NETLIFY_SITE_ID" --publish-directory ./dist
Counting objects .... 
Counting objects: 1 
Counting objects: 2 
Counting objects: 3 
.....
Counting objects: 108 
Counting objects: 109 
Counting objects: 109 total objects  ✔
Resolving deltas .... 
Resolving deltas: 86 objects to upload  ✔
Uploading objects: 0/86 
Uploading objects  ✘
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
kitop commented 4 years ago

Hi @danielo515, this tool is no longer maintained. Can you try using the new cli tool? https://github.com/netlify/cli

cipriancraciun commented 4 years ago

@danielo515 Please check if perhaps the tool fails due to an out-of-memory condition.

(See #106 for details.)