22 lines
399 B
YAML
22 lines
399 B
YAML
|
steps:
|
||
|
|
||
|
build:
|
||
|
image: node:current-alpine
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm run build
|
||
|
|
||
|
deploy:
|
||
|
image: drillster/drone-rsync
|
||
|
settings:
|
||
|
hosts: [ "goldrausch.spittank.eu" ]
|
||
|
port: 6666
|
||
|
delete: true
|
||
|
recursive: true
|
||
|
user:
|
||
|
from_secret: deploy_ssh_user
|
||
|
key:
|
||
|
from_secret: deploy_ssh_key
|
||
|
source: dist/
|
||
|
target: htdocs
|