mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-16 13:13:01 +05:30
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
|