Skip to content

Commit

Permalink
Merge pull request #36 from ameza/master
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadUT committed Nov 19, 2015
2 parents 2f81537 + 5565c40 commit c800838
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
echo Build started
rm -rf dist
mkdir dist
cd dist
mkdir install
cd ..
npm install --prefix dist/install .
rm dist/dist.zip
cd dist/install/node_modules/alexa-plex/
zip -r ../../../dist.zip * .env
echo files are ready
cd ..
cd ..
cd ..
cd ..
echo uploading zip file, please wait...
aws lambda update-function-code --zip-file fileb://dist/dist.zip --function-name alexa-plex
echo upload is done, exiting.

0 comments on commit c800838

Please sign in to comment.