update:
Some checks failed
Backend EC - Modal Deployment / notify-deploy (push) Has been cancelled
Backend EC - Modal Deployment / build-and-push (push) Has been cancelled
Deploy CD Server / deploy (push) Failing after 19s

This commit is contained in:
DatTT127
2026-07-19 18:01:48 +07:00
parent 15437a5f18
commit f84d30264f
2 changed files with 26 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Deploy to Lightsail VM
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.LIGHTSAIL_HOST }}
host: ${{ vars.LIGHTSAIL_DEPLOY_HOST }}
username: ${{ secrets.LIGHTSAIL_USERNAME }}
key: ${{ secrets.LIGHTSAIL_SSH_KEY }}
port: ${{ vars.LIGHTSAIL_PORT }}
@@ -47,7 +47,7 @@ jobs:
--exclude='__pycache__' \
--exclude='*.pyc' \
--exclude='.env' \
./ "$DEPLOY_DIR/"
./workspace/sprint_1_2/CODEBASE/deps/implementation/CD_server/ "$DEPLOY_DIR/"
echo "[deploy] Building CD server Docker image"
sudo -u deploy docker compose -f "$DEPLOY_DIR/docker-compose.yml" build --no-cache