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

send merged pdf

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