diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f819a60b7f710d8e977925b6f575241c452192e8..9ea58902c79652b4a998b73f039d7792b926fb5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,12 +36,14 @@ 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 @@ -88,6 +90,21 @@ Doc: - mv docs/projlab.pdf "$file" - 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: needs: - Sus szavak