Now I am trying to deploy using pm2 deploy production.However I have the following problem
If the directory source does not exist in the folder where the repo is cloned fetch fails.Is there any way to ensure source folder exists before fetching the repo?
Hello.I have the following deploy file
Now I am trying to deploy using
pm2 deploy production
.However I have the following problemIf the directory
source
does not exist in the folder where the repo is cloned fetch fails.Is there any way to ensuresource
folder exists before fetching the repo?