Bugfix/build 2 (#327)

* Github build actions

* More fixes
This commit is contained in:
Joseph Milazzo 2021-06-25 09:41:22 -05:00 committed by GitHub
parent a97bd1bd54
commit 61c8ce36e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,14 +25,13 @@ jobs:
with:
node-version: '14'
- run: |
echo 'Removing old wwwroot'
rm -rf API/wwwroot/*
cd Kavita-webui/ || exit
echo 'Installing web dependencies'
npm install
echo 'Building UI'
npm run prod
echo 'Copying back to Kavita wwwroot'
mkdir ../API/wwwroot
cp -r dist/* ../API/wwwroot
cd ../ || exit

View File

@ -33,6 +33,7 @@ jobs:
echo 'Building UI'
npm run prod
echo 'Copying back to Kavita wwwroot'
mkdir ../API/wwwroot
cp -r dist/* ../API/wwwroot
cd ../ || exit