Skip to content

Commit 2d5f187

Browse files
committed
Match dev deploy workflow to prod's
1 parent 6679a3c commit 2d5f187

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Build & Push and Deploy to dev for eatery-blue-backend
1+
name: Docker Build & Push and Deploy to dev for eatery-backend
22

33
on:
44
push:
@@ -32,7 +32,7 @@ jobs:
3232
context: ./
3333
file: ./Dockerfile
3434
push: true
35-
tags: cornellappdev/eatery-blue-dev:${{ steps.vars.outputs.sha_short }}
35+
tags: cornellappdev/eatery-dev:${{ steps.vars.outputs.sha_short }}
3636

3737
- name: Remote SSH and Deploy
3838
uses: appleboy/ssh-action@v1.0.3
@@ -45,7 +45,7 @@ jobs:
4545
script: |
4646
export IMAGE_TAG=${{ steps.vars.outputs.sha_short }}
4747
cd docker-compose
48-
docker stack rm thestack
48+
docker-compose down
4949
sleep 20s
50-
docker stack deploy -c docker-compose.yml thestack
50+
docker-compose up -d
5151
yes | docker system prune -a

0 commit comments

Comments
 (0)