Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ubl
finc
packages
rules-evaluator
Commits
9ceb44e7
Commit
9ceb44e7
authored
Aug 08, 2018
by
Sebastian Kehr
🚣🏼
Browse files
byrnedo/alpine-curl for gitlab-ci
parent
85bfc7fb
Pipeline
#705
passed with stage
in 11 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9ceb44e7
packagist
:
image
:
name
:
alpine:3.8
name
:
byrnedo/alpine-curl:0.1.6
entrypoint
:
[
'
/bin/sh'
,
'
-c'
]
script
:
|
apk add --no-cache curl
/usr/bin/curl
"https://packagist.org/api/update-package?username=finc&apiToken=$PACKAGIST_API_TOKEN"
\
: Publishing composer packages to packagist.org ...
/usr/bin/curl \
--header 'content-type:application/json' \
--data '{"repository":{"url":"https://git.sc.uni-leipzig.de/ubl/finc/rules-evaluator"}}'
--data '{"repository":{"url":"https://git.sc.uni-leipzig.de/ubl/finc/rules-evaluator"}}' \
"https://packagist.org/api/update-package?username=finc&apiToken=$PACKAGIST_API_TOKEN"
tags
:
[
docker
]
only
:
[
/^v/
]
except
:
[
branches
]
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment