更新 .gitea/workflows/demo.yaml
发布生产
This commit is contained in:
parent
52f5816ee6
commit
b035e80a29
|
|
@ -19,7 +19,7 @@ on:
|
||||||
# - cron: '30 5 * * 2,4'
|
# - cron: '30 5 * * 2,4'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
构建应用:
|
"构建应用":
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
|
|
@ -112,7 +112,7 @@ jobs:
|
||||||
echo 'docker push <dockerhub repository name>:latest'
|
echo 'docker push <dockerhub repository name>:latest'
|
||||||
docker info
|
docker info
|
||||||
发布应用:
|
发布应用:
|
||||||
needs: 构建应用
|
needs: "构建应用"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 执行远程 SSH 命令
|
- name: 执行远程 SSH 命令
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue