Skip to content

Commit 0afad2d

Browse files
committed
Add environment examples for execution
1 parent 8c755cb commit 0afad2d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/gosync.yml

+9
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ sync:
151151
command: date
152152
workdir: /
153153

154+
155+
## Execute remote date with workdir and custom environment settings
156+
- type: remote
157+
command: date
158+
workdir: /
159+
environment:
160+
- name: FOOBAR
161+
value: barfoo
162+
154163
exec-finish:
155164
## Execute remote date with workdir
156165
- type: remote

0 commit comments

Comments
 (0)