forked from ProjectSegfault/website
19 lines
324 B
YAML
19 lines
324 B
YAML
|
pipeline:
|
||
|
build:
|
||
|
image: node:bullseye-slim
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm run build
|
||
|
publish:
|
||
|
image: appleboy/drone-ssh
|
||
|
settings:
|
||
|
host:
|
||
|
- $HOST
|
||
|
username: $USERNAME
|
||
|
key: $KEY
|
||
|
port: $PORT
|
||
|
command_timeout: 1m
|
||
|
script:
|
||
|
- $RPATH
|
||
|
- git pull
|