Skip to content

Commit dfad803

Browse files
committed
Use docker compose up instead to read env file
1 parent ba40792 commit dfad803

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
script: |
4646
export IMAGE_TAG=${{ steps.vars.outputs.sha_short }}
4747
cd docker-compose
48-
docker stack rm thestack
49-
sleep 20s
50-
docker stack deploy -c docker-compose.yml thestack
51-
yes | docker system prune -a
48+
docker compose pull
49+
docker compose up -d --remove-orphans
50+
docker system prune -f

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
services:
42
app:
53
image: cornellappdev/alumni-website:${IMAGE_TAG}

0 commit comments

Comments
 (0)