Skip to content

Commit

Permalink
update: cicd update & testing
Browse files Browse the repository at this point in the history
  • Loading branch information
VineeTagarwaL-code committed Oct 5, 2024
1 parent 8cb87ae commit defc4bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /home/vineet/projects/blogs.vineet.tech
docker compose pull
docker compose up -d --force-recreate --no-deps
cd /home/ubuntu/compose-files/blog
docker-compose pull
docker-compose up -d --force-recreate --no-deps
docker image prune -f
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'

services:
nextjs:
image: my-blog-app:latest
image: vineetagarwal2004/blog:latest
container_name: blog
ports:
- "3000:3000"
Expand Down

0 comments on commit defc4bb

Please sign in to comment.