Bugfix/workflow test (#333)
* adding debugging and path change * more logging and change to rsync
This commit is contained in:
parent
50bdb715b7
commit
0533de7420
2 changed files with 12 additions and 2 deletions
11
.github/workflows/nightly-docker.yml
vendored
11
.github/workflows/nightly-docker.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue