Fix deploy.sh

This commit is contained in:
Gregor Kleen 2018-07-03 16:05:12 +02:00
parent bddaed3a34
commit b01e2cd193

View File

@ -4,10 +4,14 @@ configFile=""
case "$1" in case "$1" in
test) test)
configFile="keter_testworx.yml" ln -svf "keter_testworx.yml" config/keter.yml
yesod keter
;; ;;
production) production)
configFile="keter_uni2work.yml" ln -svf "keter_uni2work.yml" config/keter.yml
yesod keter && git tag live && git push origin live
;; ;;
*) *)
echo "Usage: $0 (test|production)" >&2 echo "Usage: $0 (test|production)" >&2
@ -15,6 +19,3 @@ case "$1" in
;; ;;
esac esac
ln -svf ${configFile} config/keter.yml
yesod keter && git tag live && git push origin live