fradrive/deploy.sh
2018-07-03 16:00:19 +02:00

21 lines
353 B
Bash
Executable File

#!/usr/bin/env/sh
configFile=""
case "$1" in
test)
configFile="keter_testworx.yml"
;;
production)
configFile="keter_uni2work.yml"
;;
*)
echo "Usage: $0 (test|production)" >&2
exit 2
;;
esac
ln -svf ${configFile} config/keter.yml
yesod keter && git tag live && git push origin live