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