mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Update drone
This commit is contained in:
parent
c9279dce41
commit
48805ceb98
1 changed files with 21 additions and 2 deletions
23
.drone.yml
23
.drone.yml
|
@ -2,7 +2,7 @@
|
|||
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: deploy to prod
|
||||
name: deploy-prod
|
||||
|
||||
steps:
|
||||
- name: composer
|
||||
|
@ -23,9 +23,25 @@ trigger:
|
|||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
name: build-dev-container
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: keyoxide/keyoxide
|
||||
tags: dev
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: deploy to dev
|
||||
name: deploy-dev
|
||||
|
||||
steps:
|
||||
- name: build docker container
|
||||
|
@ -48,6 +64,9 @@ steps:
|
|||
commands:
|
||||
- docker run -d -e "TWITTER_API_AUTH=$${TWITTER_API_AUTH}" --name keyoxide-web -h keyoxide --network dc_web keyoxide-web
|
||||
|
||||
depends_on:
|
||||
- build-dev-container
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- dev
|
||||
|
|
Loading…
Reference in a new issue