Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Nov 17, 2023
1 parent 9841f3d commit 6eec4ef
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,11 @@ jobs:
unzip nginx-1.25.2.zip
mv nginx-1.25.2 nginx
rm nginx-1.25.2.zip
rm -rf nginx-1.25.2
FRONTEND_VERSION=$(curl -s "https://api.github.com/repos/jxxghp/MoviePilot-Frontend/releases/latest" | jq -r .tag_name)
wget "https://github.com/jxxghp/MoviePilot-Frontend/releases/download/$FRONTEND_VERSION/dist.zip"
unzip dist.zip
mv dist/dist/* nginx/html
mv dist/* nginx/html
rm dist.zip
rm -rf dist
mv nginx/html/nginx.conf nginx/conf/nginx.conf
Expand All @@ -159,15 +158,15 @@ jobs:
touch nginx/logs/__keep__.txt
wget https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip
unzip MoviePilot-Plugins-main.zip
mv MoviePilot-Plugins-main/MoviePilot-Plugins-main/plugins/* app/plugins/
rm MoviePilot-Plugins-main.zip
unzip main.zip
mv MoviePilot-Plugins-main/plugins/* app/plugins/
rm main.zip
rm -rf MoviePilot-Plugins-main
wget https://github.com/jxxghp/MoviePilot-Resources/archive/refs/heads/main.zip
unzip MoviePilot-Resources-main.zip
mv MoviePilot-Resources-main/MoviePilot-Resources-main/resources/* app/helper/
rm MoviePilot-Resources-main.zip
unzip main.zip
mv MoviePilot-Resources-main/resources/* app/helper/
rm main.zip
rm -rf MoviePilot-Resources-main
- name: Pyinstaller
Expand Down

0 comments on commit 6eec4ef

Please sign in to comment.