Draft updated CI

This commit is contained in:
Joel Collins 2019-06-02 21:21:59 +01:00
parent a154c9dd15
commit f1d3047109

View file

@ -15,7 +15,7 @@ build:
image: electronuserland/builder:wine image: electronuserland/builder:wine
script: script:
- npm install - npm install
- npm run build - npm run build:web
artifacts: artifacts:
name: "build" name: "build"
paths: paths:
@ -25,11 +25,27 @@ build:
- tags - tags
- web - web
# Build electron webapp
build:electron:
stage: build
image: electronuserland/builder:wine
script:
- npm install
- npm run build:app
artifacts:
name: "build"
paths:
- app/dist/
only:
- stable
- tags
- web
# Platform-specific Electron builds # Platform-specific Electron builds
package: package:
stage: package stage: package
dependencies: dependencies:
- build - build:electron
image: electronuserland/builder:wine image: electronuserland/builder:wine
retry: 2 retry: 2
script: script: