Skip docs build if no diff in docs

parent d4cd9b72
Pipeline #1006 passed with stage
in 11 minutes and 12 seconds
...@@ -26,7 +26,7 @@ qa: ...@@ -26,7 +26,7 @@ qa:
docs: docs:
stage: test stage: test
script: tox -e docs script: git diff --raw HEAD^1 | grep docs || tox -e docs
tags: [memopol] tags: [memopol]
deploy: deploy:
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