Fixed file pathing for automated docker builds (#323)

This commit is contained in:
Kizaing 2021-06-24 21:58:20 -04:00 committed by GitHub
parent be2b78fa5a
commit af8c6c2cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 6 deletions

View File

@ -28,7 +28,6 @@ jobs:
cd Kavita-webui/ || exit
npm install
npm run prod
mv dist/ ../API/wwwroot
cd ../ || exit
- name: Compile dotnet app

View File

@ -28,7 +28,6 @@ jobs:
cd Kavita-webui/ || exit
npm install
npm run prod
mv dist/ ../API/wwwroot
cd ../ || exit
- name: Compile dotnet app
@ -61,3 +60,15 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Notify Discord
uses: rjstone/discord-webhook-notify@v1
with:
severity: info
description:
details: 'https://hub.docker.com/r/kizaing/kavita/tags?page=1&ordering=last_updated'
text: A new stable build has been released for docker.
webhookUrl: ${{ secrets.DISCORD_DOCKER_UPDATE_URL }}

View File

@ -21,7 +21,6 @@ Build()
slnFile=Kavita.sln
dotnet clean $slnFile -c Debug
dotnet clean $slnFile -c Release
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:Platform="Any CPU" -p:RuntimeIdentifiers=$RID
@ -48,9 +47,6 @@ Package()
echo "Copying LICENSE"
cp ../LICENSE "$lOutputFolder"/LICENSE.txt
echo "Renaming API -> Kavita"
mv "$lOutputFolder"/API "$lOutputFolder"/Kavita
echo "Creating tar"
cd ../$outputFolder/"$runtime"/