From 6f55ccc442fe0d309630f916d2c8fc7411b8a391 Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Tue, 10 Mar 2026 00:29:42 +0900 Subject: [PATCH] Fix deployment script to set PATH before changing directory --- .gitea/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index e62fbee..8770683 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -46,7 +46,8 @@ jobs: ssh -o StrictHostKeyChecking=no \ -i /tmp/deploy_key \ ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} \ - "cd ~/repo/watch-party && \ + "export PATH=/usr/local/bin:/opt/homebrew/bin:\$PATH && \ + cd ~/repo/watch-party && \ docker login gitea.home.arpa -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} && \ docker compose pull && \ docker compose up -d"