In my "deploy" pipeline, I have pulled the built artifact from upstream 
pipeline, but the problem is my working directory is different compared to 
the GoCD Agent working directory, so I can't deploy that artifact to my 
working dir. Additionally, I must run some command on my working dir after 
moving the artifact, e.g. `npm run production`.

   - My working dir: `/var/www/vhosts/project`
   - GoCD Agent working dir: `/var/lib/go-agent`

So, how can I copy the artifact to the outside of GoCD Agent and then run 
some additional commands?

Thanks a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/50fd8e5b-ffb3-4890-8ea5-9e0a454da2cdn%40googlegroups.com.

Reply via email to