join_admin/.drone.yml

23 lines
375 B
YAML
Raw Normal View History

2019-12-03 18:07:04 +00:00
---
kind: pipeline
type: exec
name: default
2019-12-03 18:10:26 +00:00
platform:
os: linux
arch: amd64
2019-12-03 18:07:04 +00:00
steps:
- name: greeting
commands:
- echo "hello world"
2019-12-03 22:03:40 +00:00
- name: build
commands:
- npm install
- npm run build:prod
- rm -rf /home/admin/web/joinbot.tk/public_html/*
- cp -R dist/* /home/admin/web/joinbot.tk/public_html/
- chmod 775 -R /home/admin/web/joinbot.tk/public_html/*
2019-12-03 18:07:04 +00:00