mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-23 08:29:08 +00:00
update gitlab CI
This commit is contained in:
parent
631b2c1c78
commit
bc4007ab2c
@ -1,20 +1,10 @@
|
||||
image: node:latest
|
||||
|
||||
stages:
|
||||
- delete_registry
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
REGISTRY_URL: "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/"
|
||||
REGISTRY_URL2: "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/23222071"
|
||||
|
||||
delete_registry:
|
||||
stage: delete_registry
|
||||
script:
|
||||
- >
|
||||
curl --request DELETE --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" "https:${REGISTRY_URL2}"
|
||||
only:
|
||||
- master
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user