Prepare new server deploy script

This commit is contained in:
Thaddee Tyl 2015-07-07 09:26:23 +02:00
parent a55661d01f
commit f204d4a21e

View File

@ -20,6 +20,17 @@ deploy:
git push -f origin gh-pages:gh-pages) || git checkout master
git checkout master
deploy-s:
git add -f Verdana.ttf
git add -f secret.json
git commit -m'MUST NOT BE ON GITHUB'
git push -f s0 HEAD:master
git reset HEAD~1
(git checkout -B gh-pages && \
git merge master && \
git push -f origin gh-pages:gh-pages) || git checkout master
git checkout master
setup:
curl http://download.redis.io/releases/redis-2.8.8.tar.gz >redis.tar.gz \
&& tar xf redis.tar.gz \
@ -34,4 +45,4 @@ redis:
test:
npm test
.PHONY: all favicon website deploy setup redis test
.PHONY: all favicon website deploy deploy-s setup redis test