Update homepage and trigger deploy
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
23
.drone.yml
23
.drone.yml
@ -1,10 +1,25 @@
|
||||
# .drone.yml
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: deploy-to-dev
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- develop
|
||||
|
||||
steps:
|
||||
- name: run
|
||||
- name: build
|
||||
image: node:18
|
||||
commands:
|
||||
- node index.js
|
||||
- npm install
|
||||
- npm run build
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/scp
|
||||
settings:
|
||||
host: 103.187.27.252
|
||||
username: root
|
||||
port: 2222
|
||||
target: /var/www/dev
|
||||
source: build/*
|
||||
key:
|
||||
from_secret: SSH_KEY
|
||||
|
||||
Reference in New Issue
Block a user