Run PurgeCSS manually

parent b9c8ee9c
Pipeline #95 passed with stage
in 2 minutes and 4 seconds
......@@ -13,12 +13,13 @@ before_script:
- npm install
- bundle install
- ./scripts/ci_fix_baseurl.sh
- jekyll build -d public
- ./node_modules/.bin/purgecss --css 'public/assets/css/*.css' --content 'public/**/*.html' --out 'public/assets/css/'
deploy-prod:
stage: deploy
script:
- apk add rsync
- jekyll build -d public
- mkdir -p "$HOME/.ssh"
- echo "$SSH_KNOWN_HOSTS" > "$HOME/.ssh/known_hosts"
- chmod 700 "$HOME/.ssh/known_hosts"
......@@ -34,7 +35,7 @@ deploy-prod:
pages:
stage: deploy
script:
- jekyll build -d public
- echo "Already built."
artifacts:
paths:
- public
......
......@@ -37,7 +37,3 @@ social:
rss: '/feed.xml'
email: https://list.poul.org/postorius/lists/mailinglist.poul.org/
plugins:
- jekyll-purgecss
css_dir: "assets/css"
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