mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fixed file pathing for automated docker builds (#323)
This commit is contained in:
parent
be2b78fa5a
commit
af8c6c2cb9
1
.github/workflows/nightly-docker.yml
vendored
1
.github/workflows/nightly-docker.yml
vendored
@ -28,7 +28,6 @@ jobs:
|
||||
cd Kavita-webui/ || exit
|
||||
npm install
|
||||
npm run prod
|
||||
mv dist/ ../API/wwwroot
|
||||
cd ../ || exit
|
||||
|
||||
- name: Compile dotnet app
|
||||
|
13
.github/workflows/stable-docker.yml
vendored
13
.github/workflows/stable-docker.yml
vendored
@ -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 }}
|
@ -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"/
|
||||
|
Loading…
x
Reference in New Issue
Block a user