ci: log errors

This commit is contained in:
silver 2024-05-12 16:03:01 +01:00
parent 4499ded2de
commit 045a38da7c
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74
2 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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