Skip to content
Snippets Groups Projects
Commit 04467085 authored by Marius Meyer's avatar Marius Meyer
Browse files

Rename example file in CI

parent 70c85498
No related branches found
No related tags found
No related merge requests found
Pipeline #49363 passed
......@@ -33,10 +33,10 @@ build_pdf:
- curl -LO https://quarto.org/download/latest/quarto-linux-amd64.deb
- gdebi --non-interactive quarto-linux-amd64.deb
- quarto check
- quarto render README.qmd --to pdf
- quarto render example.qmd --to pdf
artifacts:
paths:
- README.pdf
- example.pdf
upload:
stage: upload
......@@ -45,7 +45,7 @@ upload:
- if: $CI_COMMIT_TAG
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file README.pdf "${PACKAGE_REGISTRY_URL}/${PDF_FILE}"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file example.pdf "${PACKAGE_REGISTRY_URL}/${PDF_FILE}"
release:
# Caution, as of 2021-02-02 these assets links require a login, see:
......@@ -82,18 +82,18 @@ build_pages:
- curl -LO https://quarto.org/download/latest/quarto-linux-amd64.deb
- gdebi --non-interactive quarto-linux-amd64.deb
- quarto check
- quarto render README.qmd --to html
- quarto render example.qmd --to html
artifacts:
paths:
- README_files
- README.html
- example_files
- example.html
pages:
stage: release
script:
- mkdir .public
- cp -r README_files .public
- cp README.html .public/index.html
- cp -r example_files .public
- cp example.html .public/index.html
- mv .public public
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment