This commit is contained in:
parent
195a38edc7
commit
1527215282
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
@ -11,12 +11,12 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
FTP_HOST:
|
FTP_HOST:
|
||||||
from_secret: FTP_HOST
|
from_secret: FTP_HOST
|
||||||
FTP_USERNAME:
|
FTP_USERNAME:
|
||||||
from_secret: FTP_USERNAME
|
from_secret: FTP_USERNAME
|
||||||
FTP_PASSWORD:
|
FTP_PASSWORD:
|
||||||
from_secret: FTP_PASSWORD
|
from_secret: FTP_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- which lftp || ( apk --update add lftp )
|
- which lftp || ( apk --update add lftp )
|
||||||
- lftp -e "mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
- lftp -e "mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||||
|
|
Loading…
Reference in a new issue