mqtt-control-map/travis.sh
Ranlvor ace335a517
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
2018-02-11 19:58:58 +01:00

11 lines
203 B
Bash
Executable file

#!/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