stuck on deploy step
See original GitHub issueHi there,
I am trying to use the pm2 deploy feature but getting stuck on step 2 - deployment. I’ve run the setup command which successfully clones the repo but the next command throws the following error:
Edit: Works fine when using visionmedia/deploy
directly.
--> Deploying in development environment on host 192.168.x.x
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>
commit or stash your changes before deploying
1
Config file:
{
"apps" : [{
"name" : "xxx",
"script" : "./server/app.js",
"env_development": {
"NODE_ENV": "development",
"NPM_PORT": 3000,
"NPM_HOST": "0.0.0.0",
"NPM_DB-URL": "localhost/cmp"
},
"args": "['--harmony']"
}],
"deploy" : {
"development" : {
"user" : "user",
"host" : "192.168.x.x",
"ref" : "v0.1.3",
"repo" : "git@bitbucket.org:hidden/hidden.git",
"path" : "$HOME/xxx",
"post-deploy" : "pm2 startOrRestart ecosystem.json && pm2 save"
}
}
}
Issue Analytics
- State:
- Created 9 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Stuck at build and deploy steps · Issue #2699 · aws-amplify ...
I have connected to a GitHub repo for build and deploy on code updates and setup a Incoming Webhook to build and deploy...
Read more >Azure App Service Deploy - stuck on Finished Step
The logs show it gets up to a Finishing step and then starts to hang, when changing to version 3 or retrying a...
Read more >Amplify can't deploy, stuck while deploying
I have a static site hosted on amplify and a github repository linked with the amplify app. Everything worked fine until yesterday.
Read more >Deployment Stuck on 'Scheduled'
The deployment has been created without any deployment steps. This could be due to any of the following reasons:.
Read more >App is stuck 'Deploying...' or in an Error state
Check that the container for the app was successfully deployed and is running. sudo kubectl get pods -A -l apps.isc.ibm.com/app-type=app -L ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it seems that this bug came back with 2.4.0, It’s also solved for me if I cwd to $path/source
Same issue(