Bugfix/workflow test (#333)

* adding debugging and path change

* more logging and change to rsync
This commit is contained in:
Robbie Davis 2021-06-25 12:51:25 -04:00 committed by GitHub
parent 50bdb715b7
commit 0533de7420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -25,16 +25,23 @@ jobs:
with:
node-version: '14'
- run: |
echo 'Checking folder structure'
ls -l
cd Kavita-webui/ || exit
echo 'Installing web dependencies'
npm install
echo 'Building UI'
npm run prod
echo 'Checking dist folder for compiling integrity'
ls -l dist
echo 'Copying back to Kavita wwwroot'
mkdir ../Kavita/API/wwwroot
cp -r dist/* ../Kavita/API/wwwroot
mkdir ../API/wwwroot
rsync -a dist/ ../API/wwwroot/
echo 'Checking Kavita wwwroot for copying integrity'
ls -l ../Kavita/API/wwwroot
cd ../ || exit

View File

@ -34,6 +34,9 @@ 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