Convenient deployment
This commit is contained in:
parent
f64bdba774
commit
bddaed3a34
20
deploy.sh
Executable file
20
deploy.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Loading…
Reference in New Issue
Block a user