浏览代码

Update '.drone.yml'

master
Samuel Philipp 6 个月前
父节点
当前提交
1527215282
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. +6
    -6
      .drone.yml

+ 6
- 6
.drone.yml 查看文件

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

正在加载...
取消
保存