Fix deployment script to set PATH before changing directory
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 9s

This commit is contained in:
Nik Afiq 2026-03-10 00:29:42 +09:00
parent 7c7514e7c1
commit 6f55ccc442

View File

@ -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"