Procházet zdrojové kódy

Implement a post commit to deploy web content locally

DricomDragon před 5 roky
rodič
revize
6315af101d
1 změnil soubory, kde provedl 13 přidání a 0 odebrání
  1. 13 0
      ci/githooks/post-commit

+ 13 - 0
ci/githooks/post-commit

@@ -0,0 +1,13 @@
+#!/usr/bin/fish
+
+function ech --description 'Echo with prefix'
+	echo '[post-commit]' $argv
+end
+
+eval ci/install-web-files.fish
+
+if test $status -ne 0
+	ech 'Problem while running installation.'
+else
+	ech 'Web content correctly deployed.'
+end