Skip to content
Snippets Groups Projects
Commit 0d5caf46 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(deploy): plugin to gitlab package registry

parent 0ac79ded
Branches
No related tags found
No related merge requests found
......@@ -93,8 +93,11 @@ deploy gitlab package:
VERSION: "$CI_COMMIT_TAG"
FILE: "${CI_PROJECT_NAME}-{$CI_COMMIT_TAG}.zip"
script:
- cp release.zip $FILE
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "$FILE" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/${VERSION}/${FILE}"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file release.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/${VERSION}/${FILE}"'
except:
variables:
- $IS_LIBRARY
- $IS_NPM_LIBRARY
deploy to shop:
<<: *job-deploy-template
......
......@@ -27,6 +27,7 @@ prepare codeception parallel:
- name: wpdesknet/wordpress:52
alias: wootests
artifacts:
expire_in: 1 week
when: always
paths:
- tests/codeception/tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment