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
|
||||
rules:
|
||||
#- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
- changes:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
changes:
|
||||
- Committee/_Handovers/**/*
|
||||
|
||||
# what it runs
|
||||
|
@ -46,8 +46,8 @@ minutes:
|
|||
|
||||
# when it runs
|
||||
rules:
|
||||
#- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
- changes:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
changes:
|
||||
- Minutes/**/*
|
||||
|
||||
# what it runs
|
||||
|
@ -61,3 +61,4 @@ minutes:
|
|||
name: "Minutes"
|
||||
paths:
|
||||
- Minutes_pdf/
|
||||
- Minutes/errors.log
|
||||
|
|
|
@ -39,7 +39,7 @@ for year in */ ; do
|
|||
|
||||
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
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue