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

tut01 test new pipeline workflow

parent 59283ab9
No related branches found
No related tags found
1 merge request!8tut01 test new pipeline workflow
...@@ -2,7 +2,7 @@ workflow: ...@@ -2,7 +2,7 @@ workflow:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: always when: always
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main" - if: $CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_BRANCH == "main"
when: always when: always
- when: never - when: never
...@@ -48,11 +48,7 @@ job_publish_artifact: ...@@ -48,11 +48,7 @@ job_publish_artifact:
- echo "Publishing artifact..." - echo "Publishing artifact..."
- ls -al - ls -al
- pwd - pwd
- echo "${CI_JOB_TOKEN}" - env
- echo " ${CI_API_V4_URL}"
- echo "${CI_PROJECT_ID}"
- echo "${CI_COMMIT_REF_NAME}"
- echo "${version}"
- curl --version - curl --version
- | - |
curl \ curl \
......
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