From a1f211b69d109490ea8e7949bf4e259bd337a02c Mon Sep 17 00:00:00 2001 From: Piotr Migdal Date: Wed, 1 Jun 2016 14:53:44 +0200 Subject: [PATCH] chore(deployment) production and images --- deploy_dev.sh | 3 +++ deploy_play.sh | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100755 deploy_play.sh diff --git a/deploy_dev.sh b/deploy_dev.sh index 7b39a98..ab11234 100755 --- a/deploy_dev.sh +++ b/deploy_dev.sh @@ -6,3 +6,6 @@ s3cmd sync bundled/index.html s3://quantumgame.io/dev/ s3cmd sync bundled/build.js s3://quantumgame.io/dev/ s3cmd sync --recursive css s3://quantumgame.io/dev/ s3cmd sync --recursive sounds s3://quantumgame.io/ +s3cmd sync bg.jpg s3://quantumgame.io/dev/ +s3cmd sync logo.svg s3://quantumgame.io/dev/ +s3cmd sync favicon.ico s3://quantumgame.io/dev/ diff --git a/deploy_play.sh b/deploy_play.sh new file mode 100755 index 0000000..f090bc0 --- /dev/null +++ b/deploy_play.sh @@ -0,0 +1,11 @@ +# the only other step is updating index.html file! +jspm bundle-sfx --minify app.js +rm bundled/build.js* +mv build.js* bundled/ +s3cmd sync bundled/index.html s3://play.quantumgame.io/ +s3cmd sync bundled/build.js s3://play.quantumgame.io/ +s3cmd sync --recursive css s3://play.quantumgame.io/ +s3cmd sync --recursive sounds s3://play.quantumgame.io/ +s3cmd sync bg.jpg s3://play.quantumgame.io/ +s3cmd sync logo.svg s3://play.quantumgame.io/ +s3cmd sync favicon.ico s3://play.quantumgame.io/