diff --git a/.travis.yml b/.travis.yml index e3263f0..1b7f153 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,4 @@ deploy: skip_cleanup: true before_deploy: - sh deploy_s3.sh - local_dir: deploy + local_dir: test diff --git a/deploy_s3.sh b/deploy_s3.sh index 9a950c3..cb10191 100644 --- a/deploy_s3.sh +++ b/deploy_s3.sh @@ -1,4 +1,4 @@ mkdir deploy -chmod 777 deploy -#zip -r deploy/s2t-incoming-not-transcoded-file-eventhandler.zip index.js node_modules/ -cp index.js deploy/index.js \ No newline at end of file +#chmod 777 deploy +zip -r deploy/s2t-incoming-not-transcoded-file-eventhandler.zip index.js node_modules/ +cp index.js test/index.js \ No newline at end of file