Skip to content
Snippets Groups Projects
Verified Commit baa31f0b authored by Réthelyi Bálint's avatar Réthelyi Bálint :no_mouth:
Browse files

maybe send merged pdf

parent d553ef93
Branches
No related tags found
No related merge requests found
......@@ -36,14 +36,12 @@ Merged:
script:
- export TZ=Europe/Budapest
- docs/magic.sh
- echo COMMIT_TIME=$(git show -s --format=%ci $CI_COMMIT_SHA) > time.txt
needs:
- Get tester jar
- Line count
artifacts:
paths:
- docs/magic.pdf
- time.txt
Sus szavak:
stage: docs
......@@ -99,9 +97,7 @@ Merged doc:
entrypoint:
- /usr/bin/env
script:
- sed -i "s/ /-/g" time.txt
- source time.txt
- file="merged - ${COMMIT_TIME} - ${CI_COMMIT_SHORT_SHA}.pdf"
- file="merged - ${CI_COMMIT_SHORT_SHA}.pdf"
- mv docs/magic.pdf "$file"
- curl --cookie "magiccookie=$COOKIE" -F "file=@$file" https://aranykovacs.dev.rethelyi.space/in/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment