Upload artifacts

Upload build artifacts to the server of @ranlvor. This allows viewing the build results in a webbrowser
and eases continuous deployment because one can just deploy the artifacts travis has built and does
not have to build them somewhere else
This commit is contained in:
Ranlvor 2018-02-11 19:58:58 +01:00
parent 4fe4b9193a
commit ace335a517
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E
3 changed files with 171 additions and 0 deletions

View file

@ -1,9 +1,11 @@
#!/bin/sh -e
yarn lint
mkdir artifacts
for conf in $(ls config/); do
if [ "$conf" = "utils.js" ]; then
continue
fi
yarn build $conf
yarn production-build $conf
mv dist artifacts/$conf
done