.github/workflows/测http-server.yaml
This commit is contained in:
2
.github/workflows/测http-server.yaml
vendored
2
.github/workflows/测http-server.yaml
vendored
@@ -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
|
Reference in New Issue
Block a user