Personal-Site/.drone.yml

29 lines
421 B
YAML
Raw Normal View History

2022-05-31 22:39:58 -04:00
kind: pipeline
name: buildsite
steps:
- name: build
image: node
commands:
- npm install
2022-06-03 05:42:33 -04:00
- npm run build
2022-12-19 08:40:54 -05:00
when:
branch:
- master
2022-06-03 06:01:55 -04:00
- name: copy
2022-06-03 05:46:44 -04:00
image: appleboy/drone-scp
2022-06-03 05:42:33 -04:00
settings:
2022-06-03 05:46:44 -04:00
host: 192.168.10.5
2022-06-03 05:42:33 -04:00
username: thomas
password:
from_secret: ssh_password
port: 22
2022-06-03 06:32:51 -04:00
target: /home/thomas/swag/www
2022-06-03 06:30:45 -04:00
source: ./dist/*
2022-12-19 08:39:52 -05:00
strip_components: 1
2022-12-19 08:40:54 -05:00
when:
branch:
- master
2022-12-19 08:39:52 -05:00