forked from Computer_Society/open-goverance
ci: log errors
This commit is contained in:
parent
4499ded2de
commit
045a38da7c
2 changed files with 6 additions and 5 deletions
|
@ -19,8 +19,8 @@ handovers:
|
||||||
|
|
||||||
# when it runs
|
# when it runs
|
||||||
rules:
|
rules:
|
||||||
#- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
- changes:
|
changes:
|
||||||
- Committee/_Handovers/**/*
|
- Committee/_Handovers/**/*
|
||||||
|
|
||||||
# what it runs
|
# what it runs
|
||||||
|
@ -46,8 +46,8 @@ minutes:
|
||||||
|
|
||||||
# when it runs
|
# when it runs
|
||||||
rules:
|
rules:
|
||||||
#- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
- changes:
|
changes:
|
||||||
- Minutes/**/*
|
- Minutes/**/*
|
||||||
|
|
||||||
# what it runs
|
# what it runs
|
||||||
|
@ -61,3 +61,4 @@ minutes:
|
||||||
name: "Minutes"
|
name: "Minutes"
|
||||||
paths:
|
paths:
|
||||||
- Minutes_pdf/
|
- Minutes_pdf/
|
||||||
|
- Minutes/errors.log
|
||||||
|
|
|
@ -39,7 +39,7 @@ for year in */ ; do
|
||||||
|
|
||||||
echo $output
|
echo $output
|
||||||
|
|
||||||
wkhtmltopdf -q --enable-local-file-access --no-stop-slow-scripts "$stripped.html" "$output" 2> ../errors.log
|
wkhtmltopdf -q --enable-local-file-access --no-stop-slow-scripts "$stripped.html" "$output" 2>> ../errors.log
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue