vegapokerbot/.drone.yml
Neur0toxine 7997128fd0
Some checks reported errors
continuous-integration/drone/push Build encountered an error
autodeploy
2024-05-23 15:01:49 +03:00

37 lines
713 B
YAML

kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry:
from_secret: CI_REGISTRY
username:
from_secret: CI_REGISTRY_USER
password:
from_secret: CI_REGISTRY_PASSWORD
repo:
from_secret: CI_APP_IMAGE
tags:
- 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:
event:
- push
branch:
- master