forked from samuel-p/sp-codes.de
updated .drone.yml
This commit is contained in:
parent
b638bf82f5
commit
8076d5fa0e
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- name: deploy-develop
|
- name: deploy-dev
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
FTP_HOST:
|
FTP_HOST:
|
||||||
|
@ -25,7 +25,7 @@ steps:
|
||||||
- develop
|
- develop
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- name: deploy-master
|
- name: deploy
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
FTP_HOST:
|
FTP_HOST:
|
||||||
|
@ -39,6 +39,6 @@ steps:
|
||||||
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ sp-codes.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ sp-codes.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Loading…
Reference in a new issue