to-boldly-go / tbg-shipdesigner

Ship designer webapp for To Boldly Go
2 stars 2 forks source link

Deploy to gh-pages after successful CI build #54

Closed vebyast closed 6 years ago

vebyast commented 6 years ago

Also, finally get those giant annoying build artifacts out of master.

Unfortunately I can't really test this, so after this is merged I may have to spend some time pushing directly to master to get it working again. Hopefully we don't cause too much downtime on the actual webapp.

Depends on #53

vebyast commented 6 years ago

Section of log from the build on travis makes it look like this should work. Last thing that might go wrong is the github API token, which could have some kind of typo in it, but that should be easy enough to get right.

8.91s$ yarn webpack
yarn run v1.3.2
$ webpack
Hash: 52f1430e34918836a781
Version: webpack 4.5.0
Time: 7200ms
Built at: 2018-4-8 18:32:38
              Asset      Size        Chunks             Chunk Names
     csvimporter.js   1.3 MiB   csvimporter  [emitted]  csvimporter
     partbuilder.js  1.38 MiB   partbuilder  [emitted]  partbuilder
    shipdesigner.js  1.58 MiB  shipdesigner  [emitted]  shipdesigner
 csvimporter.js.map  1.21 MiB   csvimporter  [emitted]  csvimporter
 partbuilder.js.map  1.25 MiB   partbuilder  [emitted]  partbuilder
shipdesigner.js.map  1.43 MiB  shipdesigner  [emitted]  shipdesigner
Entrypoint shipdesigner = shipdesigner.js shipdesigner.js.map
Entrypoint partbuilder = partbuilder.js partbuilder.js.map
Entrypoint csvimporter = csvimporter.js csvimporter.js.map
[./dist/canon_parts_list.json] 310 KiB {csvimporter} {partbuilder} {shipdesigner} [built]
[./dist/swb_kepler_recreation.json] 6.91 KiB {shipdesigner} [built]
[./lib/shipengine.js] 57.2 KiB {shipdesigner} [built]
[./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/csvimporter.vue] ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/csvimporter.vue 5.59 KiB {csvimporter} [built]
[./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/shipdesigner.vue] ./node_modules/vue-style-loader!./node_modules/css-loader?sourceMap!./node_modules/vue-loader/lib/style-compiler?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/shipdesigner.vue 1.54 KiB {shipdesigner} [built]
[./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/csvimporter.vue] ./node_modules/vue-style-loader!./node_modules/css-loader?sourceMap!./node_modules/vue-loader/lib/style-compiler?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/csvimporter.vue 1.54 KiB {csvimporter} [built]
[./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/partbuilder.vue] ./node_modules/vue-style-loader!./node_modules/css-loader?sourceMap!./node_modules/vue-loader/lib/style-compiler?{"optionsId":"0","vue":true,"scoped":false,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=1!./src/partbuilder.vue 1.54 KiB {partbuilder} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {csvimporter} {partbuilder} {shipdesigner} [built]
[./src/csvimporter.js] 1010 bytes {csvimporter} [built]
[./src/csvimporter.vue] 2.18 KiB {csvimporter} [built]
[./src/partbuilder.js] 4.49 KiB {partbuilder} [built]
[./src/partbuilder.vue] 2.18 KiB {partbuilder} [built]
[./src/shipdesigner.js] 10.8 KiB {shipdesigner} [built]
[./src/shipdesigner.vue] 1.9 KiB {shipdesigner} [built]
[./src/ui-functions.js] 1.08 KiB {shipdesigner} [built]
    + 137 hidden modules
Done in 8.40s.
The command "yarn webpack" exited with 0.
Skipping a deployment with the pages provider because the current build is a pull request.