Skip to content
Snippets Groups Projects
Commit 3d305c98 authored by Jacopo Gasparetto's avatar Jacopo Gasparetto
Browse files

Fix EOF missing quote

parent 270195a9
No related branches found
No related tags found
1 merge request!1Feature/ci cd
Pipeline #99871 failed
......@@ -32,6 +32,10 @@ build-frontend:
artifacts:
paths:
- frontend/${FE_PACKAGE_NAME}_*.tar.gz
only:
changes:
- .gitlab-ci.yml
- frontend/**/*
upload-frontend:
stage: upload
......@@ -41,5 +45,9 @@ upload-frontend:
- VERSION=$(ls frontend/${FE_PACKAGE_NAME}_*.tar.gz | grep -Eo "[0-9]+(\.[0-9]+)+")
- PACKAGE_FULL_NAME=${FE_PACKAGE_NAME}_v${VERSION}.tar.gz
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file frontend/${PACKAGE_FULL_NAME} \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/$VERSION/${PACKAGE_FULL_NAME}'
\ No newline at end of file
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "frontend/${PACKAGE_FULL_NAME}" \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/$VERSION/${PACKAGE_FULL_NAME}"'
only:
changes:
- .gitlab-ci.yml
- frontend/**/*
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