-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy-to.tmpl.sh
37 lines (32 loc) · 918 Bytes
/
deploy-to.tmpl.sh
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
29
30
31
32
33
34
35
36
37
#!/bin/sh
# ---------------------------------------------------------
# This file is a temporary bash script for uploading files
# to [[HOST]] ([[SERVER_NAME]])
#
# If you are looking at this file, it probably means the
# deployment failed for some reason. Either the script was
# manually terminated part way through or was never called.
#
# If this is the first time you're calling deploy-to.sh for
# this directory, it could mean that you have not configured
# the deploy-to.json file correctly.
#
# Delete this file and try again
#
# created: [[CREATED]]
# by: [[USER]]
# ---------------------------------------------------------
# Record when this script was last run
touch [[TIME_CHECK_FILE]];
echo;
echo;
echo 'About to upload [[FILE_C]] file[[FILE_S]] in [[GROUP_C]] group[[GROUP_S]]';
echo [[SINCE]]
echo 'To [[SERVER_NAME]] ([[HOST]])';
echo 'As [[USER]]';
echo;
echo;
[[OUTPUT]]
echo;
echo;
echo;