14 lines
481 B
Plaintext
14 lines
481 B
Plaintext
1. copy sendtoproduction folder to user home directory
|
|
cd sendtoproduction
|
|
|
|
2. edit the hosts.txt, destfile.txt, exclude.txt as you need:
|
|
hosts.txt file holds the host servers IPs,
|
|
destfile.txt file holds user name with host IPs,
|
|
exclude.txt file is the the files to ignore from deploying.
|
|
|
|
3. type in terminal and it will enable the command:
|
|
source .custom_commands.sh
|
|
|
|
4. type in terminal and it will run the code and deploy to servers when you provide passwords:
|
|
|
|
deploy |