From baa31f0b9549d27cdd9cadfaff473d633718e27b Mon Sep 17 00:00:00 2001 From: blint <blintmester@sch.bme.hu> Date: Mon, 10 May 2021 09:47:06 +0200 Subject: [PATCH] maybe send merged pdf --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ea58902..1648a942 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/ -- GitLab