diff --git a/.github/workflows/CD When Commit.yml b/.github/workflows/CD When Commit.yml index 01ad3a7..2c1f007 100644 --- a/.github/workflows/CD When Commit.yml +++ b/.github/workflows/CD When Commit.yml @@ -60,15 +60,15 @@ jobs: echo "Waiting for services to be up..." sleep 6 -# - name: Run tests -# run: | -# curl -f http://localhost:3000 -# curl -f http://localhost:3000/posts/1 -# curl -f http://localhost:3000/archive -# curl -f http://localhost:3000/about -# -# curl -f http://localhost:8000/api/posts/ -# curl -f http://localhost:8000/admin/ + - name: Run tests + run: | + curl -f http://localhost:3000 + curl -f http://localhost:3000/posts/1 + curl -f http://localhost:3000/archive + curl -f http://localhost:3000/about + + curl -f http://localhost:8000/api/posts/ + curl -f http://localhost:8000/admin/ # 构建并推送多架构后端服务镜像