Skip to content

Commit 11bd00a

Browse files
authored
feat: just a job
1 parent 81df3aa commit 11bd00a

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/deploy-esc.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,6 @@ jobs:
4646
# 使用 pnpm 安装依赖
4747
run_install: true
4848

49-
Build_Service:
50-
needs: ENV_Init
51-
name: "构建服务"
52-
runs-on: ENV_Init
53-
permissions:
54-
contents: read
55-
packages: write
56-
# This is used to complete the identity challenge
57-
# with sigstore/fulcio when running outside of PRs.
58-
id-token: write
59-
60-
steps:
61-
## 构建镜像并推送
6249
- name: Build And Push Docker image
6350
run:
6451
PROXY_DOMAIN=true pnpm image
@@ -70,18 +57,6 @@ jobs:
7057
echo "-----------正在运行的服务--------"
7158
docker ps
7259

73-
Deploy_ESC:
74-
needs: [ ENV_Init , Build_Service ]
75-
name: "ESC服务更新"
76-
runs-on: Build_Service
77-
permissions:
78-
contents: read
79-
packages: write
80-
# This is used to complete the identity challenge
81-
# with sigstore/fulcio when running outside of PRs.
82-
id-token: write
83-
84-
steps:
8560
- name: 读取当前版本号
8661
id: version
8762
uses: ashley-taylor/read-json-property-action@v1.0
@@ -96,7 +71,7 @@ jobs:
9671
port: ${{ secrets.Server_Port }}
9772
username: ${{ secrets.Server_UserName }}
9873
password: ${{ secrets.Server_Password }}
99-
script:
74+
script: |
10075
docker images;
10176
echo "-----------正在运行的服务--------";
10277
docker ps;

0 commit comments

Comments
 (0)