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