updated .drone.yml

This commit is contained in:
Samuel Philipp 2021-02-01 21:06:19 +01:00
parent b638bf82f5
commit 8076d5fa0e

View file

@ -8,7 +8,7 @@ steps:
commands:
- npm install
- npm run build
- name: deploy-develop
- name: deploy-dev
image: alpine
environment:
FTP_HOST:
@ -25,7 +25,7 @@ steps:
- develop
event:
- push
- name: deploy-master
- name: deploy
image: alpine
environment:
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
when:
branch:
- master
- main
event:
- push