Fix deploy.sh
This commit is contained in:
parent
bddaed3a34
commit
b01e2cd193
11
deploy.sh
11
deploy.sh
@ -4,10 +4,14 @@ configFile=""
|
||||
|
||||
case "$1" in
|
||||
test)
|
||||
configFile="keter_testworx.yml"
|
||||
ln -svf "keter_testworx.yml" config/keter.yml
|
||||
|
||||
yesod keter
|
||||
;;
|
||||
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
|
||||
@ -15,6 +19,3 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
ln -svf ${configFile} config/keter.yml
|
||||
|
||||
yesod keter && git tag live && git push origin live
|
||||
|
||||
Loading…
Reference in New Issue
Block a user