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
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:
@@ -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" \
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user