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:
parent
4fe4b9193a
commit
ace335a517
3 changed files with 171 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue