This commit is contained in:
parent
3044747580
commit
f1c42c48a8
@ -7,6 +7,9 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
- name: copy
|
- name: copy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
@ -19,7 +22,7 @@ steps:
|
|||||||
target: /home/thomas/swag/www
|
target: /home/thomas/swag/www
|
||||||
source: ./dist/*
|
source: ./dist/*
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user