My website. http://www.vilor.one/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
556 B

kind: pipeline
type: docker
name: production
when:
event: [ push ]
branch: [ master ]
trigger:
branch:
- master
steps:
- name: build-frontend
image: node:14-alpine
commands:
- apk add guile
- cd frontend
- npm i
- npm run build
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_hosts
user:
from_secret: deploy_user
key:
from_secret: deploy_ssh_key
target:
from_secret: deploy_target
source: frontend/dist/