mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Add dev branch to drone
This commit is contained in:
parent
d0bb087ba2
commit
66996f5408
1 changed files with 22 additions and 2 deletions
24
.drone.yml
24
.drone.yml
|
@ -1,15 +1,35 @@
|
||||||
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: deploy
|
name: deploy to prod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy to server
|
- name: deploy to server
|
||||||
environment:
|
environment:
|
||||||
DEPLOY_COMMAND:
|
DEPLOY_COMMAND:
|
||||||
from_secret: deploy_command
|
from_secret: deploy_command_prod
|
||||||
commands:
|
commands:
|
||||||
- $${DEPLOY_COMMAND}
|
- $${DEPLOY_COMMAND}
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: deploy to dev
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy to server
|
||||||
|
environment:
|
||||||
|
DEPLOY_COMMAND:
|
||||||
|
from_secret: deploy_command_dev
|
||||||
|
commands:
|
||||||
|
- $${DEPLOY_COMMAND}
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
|
Loading…
Reference in a new issue