.github/workflows/测http-server.yaml

This commit is contained in:
严浩
2025-01-14 19:23:13 +08:00
parent f6e8b36d5b
commit 2c4fdb29c5

View File

@@ -15,7 +15,7 @@ jobs:
mkdir -p gitea
echo '<h1>hello world</h1>' > gitea/index.html
npx http-server -p=4251 ./gitea &
SERVER_PID=$!
sleep 1 # 等待服务器启动
# SERVER_PID=$!
# sleep 1 # 等待服务器启动
curl http://localhost:4251/ -v
kill $SERVER_PID