2022-10-13 11:23:39 +02:00
|
|
|
pipeline:
|
2022-10-13 14:10:35 +02:00
|
|
|
build:
|
2022-10-13 11:38:55 +02:00
|
|
|
image: node
|
2022-10-13 11:23:39 +02:00
|
|
|
commands:
|
2022-10-13 11:38:55 +02:00
|
|
|
- npm ci
|
|
|
|
- npm run build
|
2022-10-13 14:10:35 +02:00
|
|
|
deploy:
|
|
|
|
image: drillster/drone-rsync
|
|
|
|
settings:
|
|
|
|
key:
|
|
|
|
from_secret: gweicz-docs-deploy-ssh-key
|
|
|
|
hosts:
|
|
|
|
- frontier.gwei.cz
|
|
|
|
port: 2022
|
2022-10-13 14:17:18 +02:00
|
|
|
user: gweicz-docs-deploy
|
2022-10-13 14:10:35 +02:00
|
|
|
delete: true
|
|
|
|
source: build
|
|
|
|
target: /docs-web
|
|
|
|
when:
|
2022-10-13 14:13:42 +02:00
|
|
|
branch: [master]
|