forked from foush/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.xml
28 lines (24 loc) · 904 Bytes
/
deploy.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<project name="fzyskeleton" default="dev" basedir=".">
<target name="dev">
<echo message="Running deploy script in EC2" />
<ssh host="${host}"
username="${username}"
password="${password}"
command="${command}" />
<echo message="Success" />
</target>
<target name="staging">
<echo message="Running deploy script in EC2 ${host}" />
<ssh host="${host}"
username="${username}"
password="${password}"
command="${command}" />
<echo message="Running deploy script in EC2 ${host2}" />
<ssh host="${host2}"
username="${username}"
password="${password}"
command="${command}" />
<echo message="Success" />
</target>
</project>