-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrés Meza
committed
Nov 18, 2015
1 parent
2f81537
commit 5565c40
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |