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 38 39 40 41 42 43 44 45 46 47 48 |
|
From 4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24 Mon Sep 17 00:00:00 2001
From: Silvino Silva
- $ scp /home/bob/.ssh/gitolite.pub admin@core.privat-network.net:/home/admin/ - bob@core.privat-network.net's password: + $ scp /home/bob/.ssh/gitolite.pub admin@machine.example.org:/home/admin/ + bob@machine.example.org's password: gitolite.pub 100% 390 0.4KB/s 00:00@@ -230,7 +230,7 @@ # rm -rf doc.git -
On workstation edit conf/gitolite.conf and remove c9-doc.
+On workstation edit conf/gitolite.conf and remove doc.
$ git add local/hooks/repo-specific/hook-deployweb - $ git add -u && git commit -m "added deploy c9 hook" + $ git add -u && git commit -m "added deploy hook"-
Now we can test if our script is functioning by creating a branch on c9-doc +
Now we can test if our script is functioning by creating a branch on doc making a random change and push;
- $ cd c9-doc + $ cd doc $ git checkout -b deploy_branch-- cgit 1.4.1-2-gfad0 input type='hidden' name='h' value='0.6.0'/>