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: 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 # the md to pdf process
/**/*_html /**/*_html
/**/*_pdf /**/*_pdf
/**/html_*
/**/pdf_*
/**/errors.log /**/errors.log

View file

@ -22,9 +22,9 @@ pdf:
artifacts: artifacts:
name: "PDFs" name: "PDFs"
paths: paths:
- Handovers_pdf/ - pdf_Handovers/
- Minutes_pdf/ - pdf_Minutes/
- Budget_pdf/ - pdf_Budget/
- errors.log - errors.log
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'

View file

@ -21,9 +21,9 @@ See [last years submission][1] for more details
* Minutes PDFs can be found [browse][5] [download][4] * Minutes PDFs can be found [browse][5] [download][4]
* See [Last years section][1] for guidelines * 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 [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 #### Details
{Add text here} {Add text here}

View file

@ -22,5 +22,5 @@ Latest Minutes are available here:
These can be generated with ``nix run .#minutes`` These can be generated with ``nix run .#minutes``
[0]: https://gitlab.skynet.ie/api/v4/projects/57/jobs/artifacts/main/download?job=pdf [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 [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/Minutes_pdf?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" root="$PWD"
folder="Budget" folder="Budget"
folder_html="Budget_html" folder_html="html_${folder}"
folder_pdf="Budget_pdf" folder_pdf="pdf_${folder}"
function build_html() { function build_html() {
# used to match ** # used to match **

View file

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

View file

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

View file

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

View file

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