.github/workflows/测http-server.yaml
This commit is contained in:
1
.github/workflows/测http-server.yaml
vendored
1
.github/workflows/测http-server.yaml
vendored
@@ -14,6 +14,7 @@ jobs:
|
|||||||
set -x
|
set -x
|
||||||
mkdir -p gitea
|
mkdir -p gitea
|
||||||
echo '<h1>hello world</h1>' > gitea/index.html
|
echo '<h1>hello world</h1>' > gitea/index.html
|
||||||
|
npm install -g http-server
|
||||||
npx http-server -p=4251 ./gitea &
|
npx http-server -p=4251 ./gitea &
|
||||||
SERVER_PID=$!
|
SERVER_PID=$!
|
||||||
sleep 10 # 等待服务器启动
|
sleep 10 # 等待服务器启动
|
||||||
|
Reference in New Issue
Block a user