updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

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: 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