From 50bdb715b7bd38c8dea8b62d5f6069b1d9604817 Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Fri, 25 Jun 2021 12:33:02 -0400 Subject: [PATCH] adding debugging and path change (#332) --- .github/workflows/nightly-docker.yml | 6 +++--- action-build.sh | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-docker.yml b/.github/workflows/nightly-docker.yml index 153f9f5dd..98556c37f 100644 --- a/.github/workflows/nightly-docker.yml +++ b/.github/workflows/nightly-docker.yml @@ -33,10 +33,10 @@ jobs: echo 'Checking dist folder for compiling integrity' ls -l dist echo 'Copying back to Kavita wwwroot' - mkdir ../API/wwwroot - cp -r dist/* ../API/wwwroot + mkdir ../Kavita/API/wwwroot + cp -r dist/* ../Kavita/API/wwwroot echo 'Checking Kavita wwwroot for copying integrity' - ls -l ../API/wwwroot + ls -l ../Kavita/API/wwwroot cd ../ || exit - name: Compile dotnet app diff --git a/action-build.sh b/action-build.sh index 3c396085a..ce7e5ed75 100755 --- a/action-build.sh +++ b/action-build.sh @@ -42,9 +42,15 @@ Package() echo dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder" --framework $framework dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder" --framework $framework + echo "Integrity check on API wwwroot folder" + ls -l "$lOutputFolder"/API/wwwroot + echo "Renaming API -> Kavita" mv "$lOutputFolder"/API "$lOutputFolder"/Kavita + echo "Integrity check on Kavita wwwroot folder" + ls -l "$lOutputFolder"/Kavita/wwwroot + echo "Copying Install information" cp ../INSTALL.txt "$lOutputFolder"/README.txt