ci: DEPLOY_HOST 默认 127.0.0.1,可 secret 覆盖
Some checks failed
build-and-deploy / build-and-deploy (push) Failing after 13s
Some checks failed
build-and-deploy / build-and-deploy (push) Failing after 13s
This commit is contained in:
parent
59e8b01371
commit
13c3fc563f
@ -11,7 +11,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DEPLOY_HOST: 114.134.187.170
|
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST || '127.0.0.1' }}
|
||||||
DEPLOY_USER: root
|
DEPLOY_USER: root
|
||||||
DEPLOY_DIR: /app/registry
|
DEPLOY_DIR: /app/registry
|
||||||
IMAGE_NAME: registry-app
|
IMAGE_NAME: registry-app
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user