mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
This commit is contained in:
parent
75f5300db3
commit
88fa84790d
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: caprover/cli-caprover:2.2.3
|
||||||
|
commands:
|
||||||
|
- caprover deploy
|
||||||
|
environment:
|
||||||
|
CAPROVER_URL:
|
||||||
|
from_secret: caprover_url
|
||||||
|
CAPROVER_APP:
|
||||||
|
from_secret: caprover_app
|
||||||
|
CAPROVER_APP_TOKEN:
|
||||||
|
from_secret: app_token
|
||||||
|
CAPROVER_BRANCH: master
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
4
captain-definition
Normal file
4
captain-definition
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 2,
|
||||||
|
"dockerfilePath": "./Dockerfile"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user