@@ -38,18 +38,17 @@ function update_script() {
|
|||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe"
|
||||||
msg_info "Building Application"
|
msg_info "Building Application"
|
||||||
cd /tmp/immichframe
|
cd /tmp/immichframe
|
||||||
$STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \
|
/opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \
|
||||||
--configuration Release \
|
--configuration Release \
|
||||||
--runtime linux-x64 \
|
--runtime linux-x64 \
|
||||||
--self-contained false \
|
--self-contained false \
|
||||||
--output /app
|
--output /app
|
||||||
|
|
||||||
cd /tmp/immichframe/immichFrame.Web
|
cd /tmp/immichframe/immichFrame.Web
|
||||||
$STD npm ci
|
npm ci
|
||||||
$STD npm run build
|
npm run build
|
||||||
rm -rf /app/wwwroot/*
|
rm -rf /app/wwwroot/*
|
||||||
cp -r build/* /app/wwwroot
|
cp -r build/* /app/wwwroot
|
||||||
rm -rf /tmp/immichframe
|
|
||||||
msg_ok "Application Built"
|
msg_ok "Application Built"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ cd /tmp/immichframe/immichFrame.Web
|
|||||||
$STD npm ci
|
$STD npm ci
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
cp -r build/* /app/wwwroot
|
cp -r build/* /app/wwwroot
|
||||||
rm -rf /tmp/immichframe
|
|
||||||
msg_ok "Application Built"
|
msg_ok "Application Built"
|
||||||
|
|
||||||
msg_info "Configuring ImmichFrame"
|
msg_info "Configuring ImmichFrame"
|
||||||
|
|||||||
Reference in New Issue
Block a user