diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 1a88963..c0df1c7 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -66,6 +66,7 @@ jobs: - name: Run On Server run: | docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $REMOTE_IMG_NAME + - name: setup nginx uses: http://${{vars.DOMAIN}}:5678/tools/action-setup-nginx@v1 id: nginx @@ -73,7 +74,7 @@ jobs: run: | echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html" - curl http://localhost:${{ steps.nginx.outputs.port }}/ + curl http://${{vars.DOMAIN}}:5678:${{ steps.nginx.outputs.port }}/ # Expected output: Hello, world! cat "${{ steps.nginx.outputs.access-log }}"