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
11 lines
203 B
Bash
Executable file
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
|