build: 支持构建并上传网页到景安虚机。x4.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ivan Li 2023-02-27 09:24:18 +08:00
parent d137dfac70
commit 6e0b88bd1e

View File

@ -210,7 +210,7 @@ steps:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker run --rm -it -e FTP_ACCOUNT=${FTP_ACCOUNT} -e FTP_PASSWORD=${FTP_PASSWORD} -e FTP_HOST=${FTP_HOST} docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog-upload:${DRONE_COMMIT_SHA:0:8}
- docker run --rm -t -e FTP_ACCOUNT=${FTP_ACCOUNT} -e FTP_PASSWORD=${FTP_PASSWORD} -e FTP_HOST=${FTP_HOST} docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog-upload:${DRONE_COMMIT_SHA:0:8}
environment:
FTP_ACCOUNT:
from_secret: zzidc_ftp_account