更新 .gitea/workflows/demo.yaml
自动流水线示例 / 构建应用 (push) Successful in 2m6s Details
自动流水线示例 / 发布应用 (push) Successful in 20s Details

发布生产
This commit is contained in:
xiehaijun 2025-07-27 09:41:59 +00:00
parent 52f5816ee6
commit b035e80a29
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ on:
# - cron: '30 5 * * 2,4'
jobs:
构建应用:
"构建应用":
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
@ -112,7 +112,7 @@ jobs:
echo 'docker push <dockerhub repository name>:latest'
docker info
发布应用:
needs: 构建应用
needs: "构建应用"
runs-on: ubuntu-latest
steps:
- name: 执行远程 SSH 命令