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

View file

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