This commit is contained in:
konrad 2017-04-26 20:58:42 +02:00 committed by kolaente
commit 289ad31c61
2 changed files with 18 additions and 0 deletions

3
src/Simple-Git-Deploy/cmd.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
#ssh-agent bash -c 'ssh-add /mnt/drive/wobsites/life/keys/deploy; git clone ssh://git@git.mowie.cc:9022/Websites/Life-Homepage.git /mnt/drive/wobsites/life/deploy-test'
git --version

View File

@ -0,0 +1,15 @@
package main
import (
"fmt"
"os/exec"
"log"
)
func main() {
cmd, err := exec.Command( "/bin/bash", "cmd.sh").Output()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s\n", cmd)
}