try to create release link
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
stages:
|
||||
- build
|
||||
- release
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@ -20,6 +21,22 @@ build:
|
||||
- cp sketch/sketch.esp8266.esp8266.nodemcu.* .
|
||||
|
||||
|
||||
|
||||
release:
|
||||
stage: release
|
||||
image: registry.gitlab.com/wolutator/base-build-env
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
- docker
|
||||
dependencies:
|
||||
- build
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
script:
|
||||
- curl --request POST \
|
||||
--header "PRIVATE-TOKEN: $CI_JOB_TOKEN" \
|
||||
--data name="awesume-v0.2.iso" \
|
||||
--data url="https://home.hottis.de" \
|
||||
"https://gitlab.com/api/v4/projects/10877064/releases/v0.1/assets/links"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user