From 431ff434743b17ceaccebfba40fca38cbd009d10 Mon Sep 17 00:00:00 2001
From: Silvino Silva Give permissions to access files; Add cron job to call deploy script every minute; Comment gitolite admin repo script "if" and uncomment debug sections, this allow to
- source the file with environment of hook. Later you can delete this branch locally and remote and start fresh. To test
+ Comment gitolite admin repo script "if" and uncomment debug sections, this allow to
+ source the file with environment of hook. Later you can delete this branch locally and remote and start fresh. To test
if hook is called each time you push run;
+ # mkdir /srv/deploy_dir
+ # chown www:www /srv/deploy_dir
+
+
@@ -683,13 +690,11 @@
4.3.3. Debuging hooks
-
$ echo $(( ( RANDOM % 10 ) +1 )) >> index.html && git add -u && git commit -m "test deploy" && git push git
@@ -702,6 +707,9 @@
and repeat above command to see the results or create a separate script with
all variables generated by above script set so you don't have to push at all.
Change cron to debug check root email or call deploy script directly + from command line after hook and deploy_web are working.
+@@ -815,7 +823,7 @@ Tools IndexThis is part of the c9-doc Manual. - Copyright (C) 2016 + Copyright (C) 2018 c9 team. See the file Gnu Free Documentation License for copying conditions.
-- cgit 1.4.1-2-gfad0