From b8bc2de6543c5c537136fa25c56cb6803cd8549c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Tue, 14 Jan 2025 19:24:15 +0800 Subject: [PATCH] =?UTF-8?q?.github/workflows/=E6=B5=8Bhttp-server.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/测http-server.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/测http-server.yaml b/.github/workflows/测http-server.yaml index 192a3e8..8c10600 100644 --- a/.github/workflows/测http-server.yaml +++ b/.github/workflows/测http-server.yaml @@ -15,8 +15,8 @@ jobs: mkdir -p gitea echo '

hello world

' > gitea/index.html npx http-server -p=4251 ./gitea & - # SERVER_PID=$! - # sleep 1 # 等待服务器启动 + SERVER_PID=$! + sleep 10 # 等待服务器启动 curl http://localhost:4251/ -v - # kill $SERVER_PID + kill $SERVER_PID - run: echo "DONE" \ No newline at end of file