mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
run deploy script on api host
This commit is contained in:
26
.drone.yml
26
.drone.yml
@@ -14,12 +14,26 @@ steps:
|
|||||||
- node -v
|
- node -v
|
||||||
- yarn --version
|
- yarn --version
|
||||||
- yarn
|
- yarn
|
||||||
- name: frontend_build
|
- name: deploy
|
||||||
image: node:13.6.0
|
image: appleboy/drone-ssh
|
||||||
commands:
|
pull: true
|
||||||
- node -v
|
secrets:
|
||||||
- yarn --version
|
- ssh_key
|
||||||
- yarn build
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- drone-test
|
||||||
|
status: success
|
||||||
|
settings:
|
||||||
|
host: 10.0.0.114
|
||||||
|
username: root
|
||||||
|
key:
|
||||||
|
from_secret: ssh_key
|
||||||
|
command_timeout: 600s
|
||||||
|
script:
|
||||||
|
- /home/kevin/deploy/seasoned.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user