From af8c6c2cb9ea32fc86bc3e0f27910e980d6f6eed Mon Sep 17 00:00:00 2001 From: Kizaing Date: Thu, 24 Jun 2021 21:58:20 -0400 Subject: [PATCH] Fixed file pathing for automated docker builds (#323) --- .github/workflows/nightly-docker.yml | 1 - .github/workflows/stable-docker.yml | 13 ++++++++++++- action-build.sh | 4 ---- 3 files changed, 12 insertions(+), 6 deletions(-) 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"/