Unitech / pm2-deploy

Deploy part of PM2
http://pm2.keymetrics.io/docs/usage/deployment/
MIT License
178 stars 72 forks source link

pm2-deploy on Alpine OS fails with post-deploy issue #184

Closed GimpMaster closed 4 years ago

GimpMaster commented 4 years ago

Below is the issue I am getting. It seems to come from the default interpreter is ash and it doesn't like some substituion. Do you have suggestions on how I can change interpreter type or fix the issue?

--> Deploying to sand environment --> on host 45.33.X.X ○ deploying origin/master ○ executing pre-deploy-local ○ hook pre-deploy ○ fast forward master Already on 'master' Your branch is up to date with 'origin/master'. From gitlab.com:blah/blah

branch master -> FETCH_HEAD Already up to date. ○ executing post-deploy echo hi hi ash: syntax error: bad substitution post-deploy hook failed

Deploy failed

Thanks!