mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-23 07:19:28 -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
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: deploy to prod
|
name: deploy-prod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: composer
|
- 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
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: deploy to dev
|
name: deploy-dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build docker container
|
- name: build docker container
|
||||||
|
@ -48,6 +64,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- docker run -d -e "TWITTER_API_AUTH=$${TWITTER_API_AUTH}" --name keyoxide-web -h keyoxide --network dc_web keyoxide-web
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- dev
|
- dev
|
||||||
|
|
Loading…
Reference in a new issue