Skip to content

Instantly share code, notes, and snippets.

@martincarlin87
Created April 24, 2019 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martincarlin87/95c4d652631a1aad702e92177152be9d to your computer and use it in GitHub Desktop.
Save martincarlin87/95c4d652631a1aad702e92177152be9d to your computer and use it in GitHub Desktop.
Compile SCSS in GitLab Pipeline Using Yarn
stages:
- compile
- deploy
compile:
stage: compile
image: node:8.15-alpine
script:
- yarn global add node-sass
- node-sass ./content/themes/carlin/assets/sass/input.scss ./content/themes/carlin/assets/css/screen.css --style compressed
only:
- master
artifacts:
paths:
- ./content/themes/carlin/assets/css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment