Commit d287a1fc authored by Pietro Saccardi's avatar Pietro Saccardi

Removing make file and updating image settings

parent e3443c2f
...@@ -3,11 +3,14 @@ stages: ...@@ -3,11 +3,14 @@ stages:
build:less: build:less:
stage: build stage: build
image: appleboy/node-less image: node:8.0.0-alpine
variables: variables:
PLUGIN_NAME: MittelTheme PLUGIN_NAME: MittelTheme
LESS_SRC: Template/css/app.less LESS_SRC: Template/css/app.less
LESS_OUTPUT: Template/css/main.css LESS_OUTPUT: Template/css/main.css
- yarn global add less
- yarn global add less-plugin-clean-css
script: script:
- /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}" - /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}"
- git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip" - git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"
PLUGIN_NAME = MittelTheme
@ git archive HEAD --prefix=${PLUGIN_NAME}/ --format=zip -o ${PLUGIN_NAME}.zip
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