reverted the branch-based deployment to staging

This commit is contained in:
Manuel Friedli 2017-03-14 00:35:56 +01:00
parent 8d9bd73da6
commit 79139812a4

View file

@ -61,21 +61,19 @@ pages:
- tags
- master
script:
- mkdir -p public .public/{app/converter,node_modules/{@angular,core-js/client,zone.js/dist,reflect-metadata,rxjs,systemjs/dist,utf8,quoted-printable,punycode}}
- cp -a index.html abeezee-regular.woff freemono.* package.json systemjs.config.js .public/
- cp -a app/*.css app/*.html app/*.js app/*.js.map .public/app/
- cp -a app/converter/*.js app/converter/*.js.map .public/app/converter/
- cp -a node_modules/@angular/* .public/node_modules/@angular/
- cp -a node_modules/core-js/client/shim.js .public/node_modules/core-js/client/
- cp -a node_modules/zone.js/dist/zone.js .public/node_modules/zone.js/dist/
- cp -a node_modules/reflect-metadata/Reflect.js .public/node_modules/reflect-metadata/
- cp -a node_modules/rxjs/* .public/node_modules/rxjs/
- cp -a node_modules/systemjs/dist/system.src.js .public/node_modules/systemjs/dist/
- cp -a node_modules/utf8/utf8.js .public/node_modules/utf8/
- cp -a node_modules/quoted-printable/quoted-printable.js .public/node_modules/quoted-printable/
- cp -a node_modules/punycode/punycode.js .public/node_modules/punycode/
- mkdir -p public/${CI_BUILD_REF_NAME}
- mv .public/* public/${CI_BUILD_REF_NAME}/
- mkdir -p public/{app/converter,node_modules/{@angular,core-js/client,zone.js/dist,reflect-metadata,rxjs,systemjs/dist,utf8,quoted-printable,punycode}}
- cp -a index.html abeezee-regular.woff freemono.* package.json systemjs.config.js public/
- cp -a app/*.css app/*.html app/*.js app/*.js.map public/app/
- cp -a app/converter/*.js app/converter/*.js.map public/app/converter/
- cp -a node_modules/@angular/* public/node_modules/@angular/
- cp -a node_modules/core-js/client/shim.js public/node_modules/core-js/client/
- cp -a node_modules/zone.js/dist/zone.js public/node_modules/zone.js/dist/
- cp -a node_modules/reflect-metadata/Reflect.js public/node_modules/reflect-metadata/
- cp -a node_modules/rxjs/* public/node_modules/rxjs/
- cp -a node_modules/systemjs/dist/system.src.js public/node_modules/systemjs/dist/
- cp -a node_modules/utf8/utf8.js public/node_modules/utf8/
- cp -a node_modules/quoted-printable/quoted-printable.js public/node_modules/quoted-printable/
- cp -a node_modules/punycode/punycode.js public/node_modules/punycode/
artifacts:
paths:
- public