Commit 9ebbff26 authored by Nouri-Alnahawi's avatar Nouri-Alnahawi
Browse files

create anchor for script in ci

parent 73d3a114
Pipeline #69712 passed with stages
in 57 seconds
......@@ -4,7 +4,7 @@ image: registry.gitlab.com/pages/hugo/hugo_extended
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
.job_templae: &script
before_script:
- apk add --update npm nodejs
- npm update
......@@ -15,15 +15,11 @@ test:
except:
- master
test:
<<: *script
pages:
before_script:
- apk add --update npm
- npm install -D --save autoprefixer
- npm install -D --save postcss-cli
script:
- hugo --minify --gc
<<: *script
artifacts:
paths:
- public
only:
- master
Supports Markdown
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