Skip to content
Snippets Groups Projects
Commit 97409d55 authored by Yana Kernerman's avatar Yana Kernerman Committed by Yana Kernerman
Browse files

remove only

parent 7bc87ccc
No related branches found
No related tags found
1 merge request!23Tut01 test exercise
...@@ -35,7 +35,7 @@ job_build_artifact: ...@@ -35,7 +35,7 @@ job_build_artifact:
job_publish_artifact: job_publish_artifact:
stage: publish stage: publish
rules: # Conditions under which this job should run rules: # Conditions under which this job should run
- if: $CI_COMMIT_TAG # only for tags - if: $CI_COMMIT_REF_NAME =~ /^.*$/ # Run this job for any branch or merge request event.
when: always when: always
image: curlimages/curl:latest # Custom image with curl image: curlimages/curl:latest # Custom image with curl
tags: tags:
...@@ -49,6 +49,4 @@ job_publish_artifact: ...@@ -49,6 +49,4 @@ job_publish_artifact:
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \ --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
--upload-file ./artifact.bin \ --upload-file ./artifact.bin \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/${version}/webservice" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/${version}/webservice"
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment