diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 053f9d5d475d77eec11e0ca4c2e40f3ed4d986ff..dd02333aa402385db964902bcaa3c29ca5c4b6f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,7 +44,14 @@ ext_links: script: #- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 #- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect - - find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect + - > + COMMIT_MESSAGE=$(git log -1 --pretty=%B | grep "Merge branch 'hot_fix' into 'master'" ) + if [[ ${COMMIT_MESSAGE} == *hot_fix* ]]; then + echo "Skipping ci build" + exit 0 + else + find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect + fi only: - master