From 76dcde643c61347f251709c4be39d86151aee770 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sun, 1 Mar 2020 22:59:49 +0100 Subject: [PATCH] Validate vefore publish --- .gitlab-ci.yml | 2 +- publishconf.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ee7e61..0751a09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ variables: pages: stage: deploy before_script: - - pip install Markdown gitpython pelican + - pip install Markdown gitpython pelican py_w3c script: - make publish artifacts: diff --git a/publishconf.py b/publishconf.py index 67d48c9..c1aee75 100644 --- a/publishconf.py +++ b/publishconf.py @@ -16,6 +16,8 @@ CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' DELETE_OUTPUT_DIRECTORY = True +PLUGINS += ["w3c_validate"] + # Following items are often useful when publishing #DISQUS_SITENAME = "" -- GitLab