mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Bugfix/workflow test (#333)
* adding debugging and path change * more logging and change to rsync
This commit is contained in:
parent
50bdb715b7
commit
0533de7420
11
.github/workflows/nightly-docker.yml
vendored
11
.github/workflows/nightly-docker.yml
vendored
@ -25,16 +25,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- run: |
|
- run: |
|
||||||
|
echo 'Checking folder structure'
|
||||||
|
ls -l
|
||||||
|
|
||||||
cd Kavita-webui/ || exit
|
cd Kavita-webui/ || exit
|
||||||
echo 'Installing web dependencies'
|
echo 'Installing web dependencies'
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
echo 'Building UI'
|
echo 'Building UI'
|
||||||
npm run prod
|
npm run prod
|
||||||
|
|
||||||
echo 'Checking dist folder for compiling integrity'
|
echo 'Checking dist folder for compiling integrity'
|
||||||
ls -l dist
|
ls -l dist
|
||||||
|
|
||||||
echo 'Copying back to Kavita wwwroot'
|
echo 'Copying back to Kavita wwwroot'
|
||||||
mkdir ../Kavita/API/wwwroot
|
mkdir ../API/wwwroot
|
||||||
cp -r dist/* ../Kavita/API/wwwroot
|
rsync -a dist/ ../API/wwwroot/
|
||||||
|
|
||||||
echo 'Checking Kavita wwwroot for copying integrity'
|
echo 'Checking Kavita wwwroot for copying integrity'
|
||||||
ls -l ../Kavita/API/wwwroot
|
ls -l ../Kavita/API/wwwroot
|
||||||
cd ../ || exit
|
cd ../ || exit
|
||||||
|
@ -34,6 +34,9 @@ Package()
|
|||||||
local runtime="$2"
|
local runtime="$2"
|
||||||
local lOutputFolder=../_output/"$runtime"/Kavita
|
local lOutputFolder=../_output/"$runtime"/Kavita
|
||||||
|
|
||||||
|
echo "Integrity check on root folder"
|
||||||
|
ls -l
|
||||||
|
|
||||||
ProgressStart "Creating $runtime Package for $framework"
|
ProgressStart "Creating $runtime Package for $framework"
|
||||||
|
|
||||||
# TODO: Use no-restore? Because Build should have already done it for us
|
# TODO: Use no-restore? Because Build should have already done it for us
|
||||||
|
Loading…
x
Reference in New Issue
Block a user