Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2021-07-27 04:55:10 +0300
committerEvan Read <eread@gitlab.com>2021-07-27 04:55:10 +0300
commited628605464bc01b5801258b0c31ac2412721daf (patch)
tree549274b85bae09df31f7edc040fb48b8a8996425 /.gitlab-ci.yml
parent692321ddd080fb44ff45d2825073551cb60162d6 (diff)
Limit required modifications to files
Also ensure that only frontmatter is caught.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ad2828c7..37efba92 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -295,8 +295,8 @@ stylelint:
stage: test
script:
# Remove the first three lines so the frontmatter doesn't
- # cause SCSS Lint to throw errors. Also remove ERB code.
- - sed -i -E '1,3d;s/<%= .* %>//g' content/assets/stylesheets/*.scss
+ # cause stylelint to throw errors.
+ - sed -i -E '1,3d' content/assets/stylesheets/*.scss
- yarn run stylelint content/assets/stylesheets/*.scss
#