Can Envoy be used for a local build script instead of a remote server deploy script?
ANy examples? I haven't been able to get this to work for some reason or another....variables dont get recognized, and @setup never gets called.
$ envoy run local
[localhost]: sh: -c: line 5: syntax error near unexpected token `('
[localhost]: sh: -c: line 5: `echo "/Users/kp/Code/_tmpbuilds/build_" . date('YmdHis');'
[✗] This task did not complete successfully on one of your servers.
#1 your suggestion for the echo on my local Macbook worked:
echo /Users/kp/Code/_tmpbuilds/build_ {{ date('YmdHis') }}
Just is a bit strange because this version worked fine (on a remote server) with
echo "/Users/kp/Code/_tmpbuilds/build_" . date('YmdHis');
I guess different OS?
#2 Focusing on running this on my local Mac again,
How do I set variables? My point with @ setup was that the variables set there are not visible within the @ task