Commit 118143aa authored by Thomas Löffler's avatar Thomas Löffler

Use build-prod command for changes in master to create CSS for production

parent 224f7152
Pipeline #4243 passed with stages
in 3 minutes and 6 seconds
......@@ -33,15 +33,12 @@ build:
except:
- assets
layout:
.layout-template: &layout_template
stage: layout
image: node:latest
before_script:
- cd html/typo3conf/ext/t3olayout/Build
script:
- npm install
- npm run build
- npm install > /dev/null
artifacts:
paths:
- ./
......@@ -51,6 +48,20 @@ layout:
except:
- assets
layout:
<<: *layout_template
script:
- npm run build
except:
- master
layout-prod:
<<: *layout_template
script:
- npm run build-prod
only:
- master
.deploy-template: &deploy_template
stage: deploy
image:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment