Merge pull request #542 from tnfssc/feat/full-cd-activate

This commit is contained in:
Sharath 2025-05-27 22:00:13 +05:30 committed by GitHub
commit b435343d3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
name: Build and Push Docker Image name: Build, push and deploy
on: on:
push: push:
@ -63,8 +63,7 @@ jobs:
script: | script: |
cd /home/suna/backend cd /home/suna/backend
git pull git pull
# docker compose up -d --build docker compose up -d --build
ls -al
- name: Deploy to prod - name: Deploy to prod
if: steps.get_tag_name.outputs.environment == 'prod' if: steps.get_tag_name.outputs.environment == 'prod'
@ -76,5 +75,4 @@ jobs:
script: | script: |
cd /home/suna/backend cd /home/suna/backend
git pull git pull
# docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
ls -al