From 5bf12796afc3626f28823a182ed958cc95c0a4f3 Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Sat, 28 Oct 2023 00:21:12 +0300 Subject: [PATCH] test 229 --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb3990c..80868a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,6 @@ before_script: # Defines stages which are to be executed stages: - build - - artifact-download # Stage "build" build-package: stage: build @@ -23,9 +22,9 @@ build-package: paths: - ./builds/artifact artifact_download: - stage: artifact-download + stage: build script: - - 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package"' + - 'curl --location --header "PRIVATE-TOKEN: glpat-FxQCwwpab9YkmNHWPVXY" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package&job_token=$CI_JOB_TOKEN" - cd ~/builds/downloaded_artifacts - unzip artifacts.zip - rm artifacts.zip