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
533 B

2 years ago
kind: pipeline
type: docker
name: production
when:
event: [ push ]
branch: [ master ]
trigger:
branch:
- master
steps:
- name: build-frontend
image: node:14-alpine
2 years ago
commands:
- cd fontend
- npm i
- npm run build
2 years ago
- 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/