-mAdding a script to deployFrom Git using my KeyChain data

This commit is contained in:
Bruno F. Fontes 2018-09-22 11:48:19 -03:00
parent 2bac35e0f3
commit 426ac19c11
Signed by: brunofontes
GPG Key ID: EE3447CE80048495

2
SSH/deployFromGit.ssh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
ssh -A -p 2222 username@MY_IP_ADDRESS -t "cd myApplicationFolder; git fetch --all; git checkout --force production; git pull origin production --force"