From 3cd30ea9d121a837a809c5744aae7e8e88b08653 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 27 Feb 2024 14:28:38 +0000 Subject: [PATCH] try shellscript execution of webapp --- .gitea/workflows/msbuild.yaml | 2 +- MyWebApp/runwebapp.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 MyWebApp/runwebapp.sh diff --git a/.gitea/workflows/msbuild.yaml b/.gitea/workflows/msbuild.yaml index 44bf148..6a43e87 100644 --- a/.gitea/workflows/msbuild.yaml +++ b/.gitea/workflows/msbuild.yaml @@ -29,7 +29,7 @@ jobs: - name: Start Web App shell: bash working-directory: ${{runner.workspace}} - run: cd MyWebApp && nohup dotnet run & + run: cd MyWebApp && ./runwebapp.sh - name: Build Playwright & Add Dependencies shell: bash diff --git a/MyWebApp/runwebapp.sh b/MyWebApp/runwebapp.sh new file mode 100644 index 0000000..7b86360 --- /dev/null +++ b/MyWebApp/runwebapp.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +sh nohup dotnet run & +disown +exit 0