Skip to content

Commit

Permalink
Update yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alputer committed Nov 14, 2023
1 parent dc006fc commit df898d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/backend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Deploy-Backend-to-Compute-Engine
on:
push:
branches:
- main
- be-308/auto-deploy-bug-fix
paths:
- 'app/backend/**'
- '.github/workflows/backend-deploy.yml'
- "app/backend/**"
- ".github/workflows/backend-deploy.yml"


jobs:
deploy:
name: Deploy to Compute Engine
Expand All @@ -30,7 +29,8 @@ jobs:
EXCLUDE: .env
SCRIPT_AFTER: |
cd ~/backend
docker build -t pollup:backend .
docker stop app
docker stop app
docker rm app
docker rmi pollup:backend
docker build -t pollup:backend .
docker run --name app -p 1923:3000 -d pollup:backend

0 comments on commit df898d5

Please sign in to comment.