From 598affe878485d868a7c07311891459eda5c5ea5 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sun, 8 Mar 2026 02:26:05 +0100 Subject: [PATCH] chore(deploy): keep sharp build manual on server --- .github/workflows/deploy.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d280d54a..baa42d6f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,16 +36,10 @@ jobs: set -eu restart_log=/tmp/indiekit-restart.log - # Ensure native sharp build prerequisites are present in the jail. - sudo bastille cmd node sh -lc 'env ASSUME_ALWAYS_YES=yes pkg update -f >/dev/null' - sudo bastille cmd node sh -lc 'env ASSUME_ALWAYS_YES=yes pkg install -y vips pkgconf python3 gmake' - # Update code and dependencies as indiekit user inside the jail. sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && git pull origin main && npm ci && install -m 755 start.example.sh start.sh"' - # Build sharp against jail libraries and verify runtime load. - sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && npm_config_build_from_source=true npm rebuild sharp"' - sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && node -e \"require(\\\"sharp\\\"); console.log(\\\"sharp runtime OK\\\")\""' + # sharp/libvips are managed manually on the server. # Ensure env file exists and contains auth secrets required by start.sh. sudo bastille cmd node sh -lc 'su -l indiekit -c "cd /usr/local/indiekit && test -f .env"'