0

I'm using wercker to build my website with Grunt. The last build step of my build is to copy the contents of the dist folder to the $WERCKER_OUTPUT_DIR.

For the deployment I would like to copy these contents to a subfolder of another (remote) repository. As I'm completely new to wercker I'm not sure how to do this and where to start (except for adding some deploy step in my wercker.yml). Any help would be appreciated.

lammert
  • 1,456
  • 14
  • 20

1 Answers1

0

basically you need to use the scp command in the deploy target and copy whatever you have the source dir to the target box.
This document can shed some more light (search for scp).

Tal
  • 7,827
  • 6
  • 38
  • 61