update:
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user