Merge branch 'main' of github.com:KevinMidboe/blog into main
This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -13,7 +13,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- node -v
|
- node -v
|
||||||
- yarn --version
|
- yarn --version
|
||||||
- name: backend_build
|
|
||||||
|
- name: frontend_build
|
||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
- node -v
|
- node -v
|
||||||
@@ -25,6 +26,8 @@ steps:
|
|||||||
pull: true
|
pull: true
|
||||||
secrets:
|
secrets:
|
||||||
- ssh_key
|
- ssh_key
|
||||||
|
- user
|
||||||
|
- host_address
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
@@ -33,8 +36,10 @@ steps:
|
|||||||
- drone-test
|
- drone-test
|
||||||
status: success
|
status: success
|
||||||
settings:
|
settings:
|
||||||
host: 10.0.0.58
|
host:
|
||||||
username: root
|
from_secret: host_address
|
||||||
|
username:
|
||||||
|
from_secret: user
|
||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
command_timeout: 600s
|
command_timeout: 600s
|
||||||
|
|||||||
Reference in New Issue
Block a user