keyoxide-web/.drone.yml

46 lines
712 B
YAML
Raw Normal View History

2020-06-25 10:11:33 -06:00
---
2020-06-25 10:01:06 -06:00
kind: pipeline
type: exec
2020-06-25 10:11:33 -06:00
name: deploy to prod
2020-06-25 10:01:06 -06:00
steps:
2020-06-26 09:06:05 -06:00
- name: composer
commands:
- composer install
2020-06-25 10:01:06 -06:00
- name: deploy to server
environment:
DEPLOY_COMMAND:
2020-06-25 10:11:33 -06:00
from_secret: deploy_command_prod
2020-06-25 10:01:06 -06:00
commands:
- $${DEPLOY_COMMAND}
trigger:
branch:
- main
2020-07-04 07:36:38 -06:00
event:
- push
2020-06-25 10:11:33 -06:00
---
kind: pipeline
type: exec
name: deploy to dev
steps:
2020-06-26 09:06:05 -06:00
- name: composer
commands:
- composer install
2020-06-25 10:11:33 -06:00
- name: deploy to server
environment:
DEPLOY_COMMAND:
from_secret: deploy_command_dev
commands:
- $${DEPLOY_COMMAND}
trigger:
branch:
- dev
2020-07-04 07:36:38 -06:00
event:
- push