Skip to content

Commit

Permalink
add deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
meriadec committed Apr 23, 2017
1 parent beadb94 commit 4ef62dc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

rm -rf dist && \
yarn build:site && \
cd dist && \
git init && \
git remote add origin [email protected]:mjmlio/mjml-app.git && \
git add . && \
git commit -m 'deploy' && \
git push -f origin master:gh-pages && \
printf '\n> everything has been deployed\n'

0 comments on commit 4ef62dc

Please sign in to comment.