vylbot-app/.drone.yml
Vylpes 4c1726f5c8
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Update '.drone.yml'
2023-01-30 11:11:04 +00:00

76 lines
903 B
YAML

---
kind: pipeline
type: ssh
name: deployment
server:
host: 192.168.1.2
user: vylpes
password:
from_secret: ssh_password
steps:
- name: deploy
commands:
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
trigger:
branch:
- main
event:
- promote
target:
- production
---
kind: pipeline
type: ssh
name: staging
server:
host: 192.168.1.2
user: vylpes
password:
from_secret: ssh_password
steps:
- name: deploy
commands:
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
trigger:
branch:
- develop
event:
- push
---
kind: pipeline
name: integration
steps:
- name: build
image: node
commands:
- yarn install --frozen-lockfile
- yarn build
- name: test
image: node
commands:
- yarn install --frozen-lockfile
- yarn test
trigger:
branch:
- main
- develop
- hotfix/*
- feature/*
- renovate/*
event:
- push
- pull_request