Thomas Cole
4844b8dc63
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
332 B
YAML
21 lines
332 B
YAML
kind: pipeline
|
|
name: buildsite
|
|
|
|
steps:
|
|
- name: build
|
|
image: node
|
|
commands:
|
|
- npm install
|
|
- npm run build
|
|
- name: deploy
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host:
|
|
- 192.168.10.5
|
|
username: thomas
|
|
password:
|
|
from_secret: ssh_password
|
|
port: 22
|
|
command_timeout: 2m
|
|
script:
|
|
- hostname |