Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Fixed file pathing for automated docker builds (#323)

Kizaingaf8c6c2cb9ea
diff --git a/.github/workflows/nightly-docker.yml b/.github/workflows/nightly-docker.yml
index 329006f14..87fe872a5 100644
--- a/.github/workflows/nightly-docker.yml
+++ b/.github/workflows/nightly-docker.yml
@@ -28,7 +28,6 @@ jobs:
cd Kavita-webui/ || exit
npm install
npm run prod
- mv dist/ ../API/wwwroot
cd ../ || exit
- name: Compile dotnet app
diff --git a/.github/workflows/stable-docker.yml b/.github/workflows/stable-docker.yml
index 7b8a68c6e..eda639b37 100644
--- a/.github/workflows/stable-docker.yml
+++ b/.github/workflows/stable-docker.yml
@@ -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 }}
\ No newline at end of file
diff --git a/action-build.sh b/action-build.sh
index 559765710..9fd94217c 100755
--- a/action-build.sh
+++ b/action-build.sh
@@ -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"/