From 090a2d22cf94af427f97fab2cba45a63230c217f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Jul 2024 22:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/main.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/main.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 0d6540d..020170c 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -66,16 +66,17 @@ jobs: - name: Run On Server run: | docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $REMOTE_IMG_NAME - - uses: http://${{vars.DOMAIN}}:5678/tools/action-setup-nginx@v1 - id: nginx + + # - uses: http://${{vars.DOMAIN}}:5678/tools/action-setup-nginx@v1 + # id: nginx - - run: | - echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html" + # - run: | + # echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html" - curl http://${{vars.DOMAIN}}:${{ steps.nginx.outputs.port }}/ - # Expected output: Hello, world! + # curl http://${{vars.DOMAIN}}:${{ steps.nginx.outputs.port }}/ + # # Expected output: Hello, world! - cat "${{ steps.nginx.outputs.access-log }}" + # cat "${{ steps.nginx.outputs.access-log }}" # Expected to contain a line with GET / HTTP/1.1 200