Files
lariscoWeb/.drone.yml
FRR d0749fe523
All checks were successful
continuous-integration/drone/push Build is passing
reinstalled react app and try to deploy
2025-07-06 00:39:19 +08:00

26 lines
404 B
YAML

kind: pipeline
type: docker
name: deploy-to-dev
trigger:
branch:
- develop
steps:
- name: build
image: node:18
commands:
- npm install
- npm run build
- name: deploy
image: appleboy/drone-scp
settings:
host: 103.187.27.252
username: root
port: 2222
target: /var/www/dev/build
source: build/*
key:
from_secret: SSH_KEY