1
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 1s
Docker Build & Deploy / Deploy to Production (push) Has been skipped

This commit is contained in:
孙诚
2025-02-27 17:16:19 +08:00
parent a1e4a24fd6
commit 7c07a736e4
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
name: Docker Build & Deploy
on: [push] # 触发条件:代码推送时触发
on:
workflow_dispatch: # 手动触发
push: # 自动触发
branches: [ main ]
env: # 全局环境变量
COMPOSE_PROJECT_NAME: nasrobot # 定义 compose 项目名称