.github/workflows/测http-server.yaml

This commit is contained in:
严浩
2025-01-14 19:22:07 +08:00
parent 86fbbe6a97
commit f6e8b36d5b

View File

@@ -17,5 +17,5 @@ jobs:
npx http-server -p=4251 ./gitea & npx http-server -p=4251 ./gitea &
SERVER_PID=$! SERVER_PID=$!
sleep 1 # 等待服务器启动 sleep 1 # 等待服务器启动
curl -s http://localhost:4251/ curl http://localhost:4251/ -v
kill $SERVER_PID kill $SERVER_PID