mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-20 07:03:02 +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
|