Browse Source

Update '.drone.yml'

master
Samuel Philipp 1 month ago
parent
commit
1527215282
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      .drone.yml

+ 6
- 6
.drone.yml View File

@@ -11,12 +11,12 @@ steps:
- name: deploy
image: alpine
environment:
FTP_HOST:
from_secret: FTP_HOST
FTP_USERNAME:
from_secret: FTP_USERNAME
FTP_PASSWORD:
from_secret: FTP_PASSWORD
FTP_HOST:
from_secret: FTP_HOST
FTP_USERNAME:
from_secret: FTP_USERNAME
FTP_PASSWORD:
from_secret: FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST

Loading…
Cancel
Save