Support the new server
This commit is contained in:
parent
cb0caafe82
commit
d1a962152d
17
Makefile
17
Makefile
|
@ -9,12 +9,25 @@ website:
|
|||
| sed "s,var origin = '';,var origin = 'https://img.shields.io';," \
|
||||
| sed "s,<style>,<!-- WARNING: THIS FILE WAS GENERATED FROM try.html -->\n<style>," > index.html
|
||||
|
||||
deploy:
|
||||
deploy: deploy-s0 deploy-s1 deploy-gh-pages
|
||||
|
||||
deploy-s0:
|
||||
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 master
|
||||
|
||||
deploy-s1:
|
||||
git add -f Verdana.ttf
|
||||
git add -f secret.json
|
||||
git commit -m'MUST NOT BE ON GITHUB'
|
||||
git push -f s1 HEAD:master
|
||||
git reset HEAD~1
|
||||
git checkout master
|
||||
|
||||
deploy-gh-pages:
|
||||
(git checkout -B gh-pages && \
|
||||
git merge master && \
|
||||
git push -f origin gh-pages:gh-pages) || git checkout master
|
||||
|
@ -45,4 +58,4 @@ redis:
|
|||
test:
|
||||
npm test
|
||||
|
||||
.PHONY: all favicon website deploy deploy-heroku setup redis test
|
||||
.PHONY: all favicon website deploy deploy-s0 deploy-s1 deploy-gh-pages deploy-heroku setup redis test
|
||||
|
|
Loading…
Reference in New Issue
Block a user