fix: expose bun to deployment subprocesses
Quality Assurance / lint (push) Successful in 1m10s
Quality Assurance / typecheck (push) Successful in 1m10s
Quality Assurance / lint (push) Successful in 1m18s
Quality Assurance / typecheck (push) Successful in 1m18s
Deploy / quality (push) Successful in 1m18s
Deploy / deploy (push) Failing after 4s

This commit is contained in:
2026-08-25 16:06:33 +02:00
parent edf49b9c34
commit cdeed80685
2 changed files with 5 additions and 2 deletions
-1
View File
@@ -23,7 +23,6 @@ jobs:
script: |
cd /var/www/html/basango.ngandu.dev
git pull origin main --rebase
bun install --frozen-lockfile
make deploy
curl -X POST "https://api.telegram.org/bot${{ secrets.DEVY_TOKEN }}/sendMessage" \
-H "Content-Type: application/json" \
+5 -1
View File
@@ -2,12 +2,16 @@
default: help
COMPOSE ?= docker compose
BUN ?= $(HOME)/.bun/bin/bun
BUN_INSTALL ?= $(HOME)/.bun
BUN ?= $(BUN_INSTALL)/bin/bun
PM2 ?= pm2
POSTGRES_DATABASE ?= app
POSTGRES_SERVICE ?= postgres
POSTGRES_USER ?= postgres
export BUN_INSTALL
export PATH := $(BUN_INSTALL)/bin:$(PATH)
.PHONY: help
help:
@echo Tasks: