ci: DEPLOY_HOST 默认 127.0.0.1,可 secret 覆盖
Some checks failed
build-and-deploy / build-and-deploy (push) Failing after 13s

This commit is contained in:
cheney 2026-07-16 14:24:44 +08:00
parent 59e8b01371
commit 13c3fc563f

View File

@ -11,7 +11,7 @@ on:
workflow_dispatch:
env:
DEPLOY_HOST: 114.134.187.170
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST || '127.0.0.1' }}
DEPLOY_USER: root
DEPLOY_DIR: /app/registry
IMAGE_NAME: registry-app