Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Fixing workflow (#337)

Robbie Davisbe56b33baf52
diff --git a/action-build.sh b/action-build.sh
index 14fb8a086..b4c82b6d0 100755
--- a/action-build.sh
+++ b/action-build.sh
@@ -34,9 +34,6 @@ Package()
local runtime="$2"
local lOutputFolder=../_output/"$runtime"/Kavita
- echo "Integrity check on root folder"
- ls -l
-
ProgressStart "Creating $runtime Package for $framework"
# TODO: Use no-restore? Because Build should have already done it for us
@@ -45,14 +42,11 @@ 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"/wwwroot
-
echo "Renaming API -> Kavita"
mv "$lOutputFolder"/API "$lOutputFolder"/Kavita
- echo "Integrity check on Kavita wwwroot folder"
- ls -l "$lOutputFolder"/wwwroot
+ echo "Copying webui wwwroot to build"
+ cp -r wwwroot/* "$lOutputFolder"/wwwroot/
echo "Copying Install information"
cp ../INSTALL.txt "$lOutputFolder"/README.txt