Created
April 24, 2019 15:27
-
-
Save martincarlin87/95c4d652631a1aad702e92177152be9d to your computer and use it in GitHub Desktop.
Compile SCSS in GitLab Pipeline Using Yarn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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