This commit is contained in:
parent
5ffbac8dd2
commit
7997128fd0
13
.drone.yml
13
.drone.yml
@ -15,6 +15,19 @@ steps:
|
|||||||
from_secret: CI_APP_IMAGE
|
from_secret: CI_APP_IMAGE
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
- name: deploy
|
||||||
|
image: alpine:latest
|
||||||
|
environment:
|
||||||
|
DEPLOYER_TOKEN:
|
||||||
|
from_secret: DEPLOYER_TOKEN
|
||||||
|
DEPLOYER_URL:
|
||||||
|
from_secret: DEPLOYER_URL
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache curl
|
||||||
|
- curl -H \"Authorization: Bearer $DEPLOYER_TOKEN\" $DEPLOYER_URL
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user