mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +00:00
-mAdding a script to deployFrom Git using my KeyChain data
This commit is contained in:
parent
2bac35e0f3
commit
426ac19c11
2
SSH/deployFromGit.ssh
Executable file
2
SSH/deployFromGit.ssh
Executable 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"
|
Loading…
Reference in New Issue
Block a user