ci: better naming scheme for folders

This commit is contained in:
silver 2024-05-20 03:41:38 +01:00
parent 2c87d9ae12
commit 8b96e27884
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74
10 changed files with 18 additions and 16 deletions

2
.gitignore vendored
View file

@ -38,4 +38,6 @@ test.*
# the md to pdf process
/**/*_html
/**/*_pdf
/**/html_*
/**/pdf_*
/**/errors.log

View file

@ -22,9 +22,9 @@ pdf:
artifacts:
name: "PDFs"
paths:
- Handovers_pdf/
- Minutes_pdf/
- Budget_pdf/
- pdf_Handovers/
- pdf_Minutes/
- pdf_Budget/
- errors.log
rules:
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

View file

@ -21,9 +21,9 @@ See [last years submission][1] for more details
* Minutes PDFs can be found [browse][5] [download][4]
* See [Last years section][1] for guidelines
[3]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/Handovers_pdf?job=pdf
[3]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/pdf_Handovers?job=pdf
[4]: https://gitlab.skynet.ie/api/v4/projects/57/jobs/artifacts/main/download?job=pdf
[5]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/Minutes_pdf?job=pdf
[5]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/pdf_Minutes?job=pdf
#### Details
{Add text here}

View file

@ -107,4 +107,4 @@ Brendan Golden.
[4]: https://gitlab.skynet.ie/groups/compsoc1/compsoc/-/group_members
[5]: https://renew.skynet.ie/
[6]: https://renew.skynet.ie/recovery/
[7]: https://2016.skynet.ie/history.html
[7]: https://2016.skynet.ie/history.html

View file

@ -22,5 +22,5 @@ Latest Minutes are available here:
These can be generated with ``nix run .#minutes``
[0]: https://gitlab.skynet.ie/api/v4/projects/57/jobs/artifacts/main/download?job=pdf
[1]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/Handovers_pdf?job=pdf
[2]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/Minutes_pdf?job=pdf
[1]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/pdf_Handovers?job=pdf
[2]: https://gitlab.skynet.ie/compsoc1/compsoc/open-goverance/-/jobs/artifacts/main/browse/pdf_Minutes?job=pdf

View file

@ -3,8 +3,8 @@
root="$PWD"
folder="Budget"
folder_html="Budget_html"
folder_pdf="Budget_pdf"
folder_html="html_${folder}"
folder_pdf="pdf_${folder}"
function build_html() {
# used to match **

View file

@ -3,8 +3,8 @@
root="$PWD"
folder="Handovers"
folder_html="${folder}_html"
folder_pdf="${folder}_pdf"
folder_html="html_${folder}"
folder_pdf="pdf_${folder}"
function build_html() {
# used to match **

View file

@ -2,8 +2,8 @@
root="$PWD"
folder_html="Minutes_html"
folder_pdf="Minutes_pdf"
folder_html="html_Minutes"
folder_pdf="pdf_Minutes"
# make teh html files first
function build_html() {

View file

@ -9,7 +9,7 @@ indentation = 2
src = "./Budget"
# Optional
dest= "./Budget_html"
dest= "./html_Budget"
# html blocks you dont want to include in teh finished page
# Optional

View file

@ -9,7 +9,7 @@ indentation = 2
src = "./Handovers"
# Optional
dest= "./Handovers_html"
dest= "./html_Handovers"
# html blocks you dont want to include in teh finished page
# Optional