mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fixing workflow (#337)
* Added extra copy for webui when building images
This commit is contained in:
parent
733460e530
commit
be56b33baf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user