finalized automated build for web

This commit is contained in:
2020-08-09 14:43:33 +09:00
parent 94a9d18c02
commit 56b3448138
19 changed files with 83 additions and 35 deletions

View File

@@ -1,7 +1,9 @@
#!/bin/sh
aws s3 cp s3://catherine-fc-infra/build.tar.gz .
tar zxf build.tar.gz
rm build.tar.gz
cd build
rm -rf /tmp/build.tar.gz
rm -rf /tmp/build
aws s3 cp s3://catherine-fc-infra/build.tar.gz /tmp/build.tar.gz
tar -C /tmp -zxvf /tmp/build.tar.gz
cd /tmp/build/
npm i
node server/index.js