Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitdethe27 authored Dec 15, 2024
1 parent 175bb62 commit 9668bdc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,9 @@ jobs:
# Stop existing containers (backend)
docker-compose down || true
# Pull latest backend images and rebuild
docker-compose pull
docker-compose up -d --build
# Frontend Deployment
cd ~/yaml-linter/frontend/vite-project
# Build and run the frontend container
docker build -t frontend .
docker run -itd -p 81:80 frontend
echo "Deployment completed"
EOF
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9668bdc

Please sign in to comment.