Skip to content

Commit efb8fc3

Browse files
committed
ci: fail if re-deployment was unsuccessful
1 parent 25135cc commit efb8fc3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/prod.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
workflow_dispatch:
55

66
push:
7-
branches:
8-
- main
97

108
jobs:
119
build:
@@ -70,6 +68,4 @@ jobs:
7068
password: ${{ secrets.SERVER_PASSWORD }}
7169
script: |
7270
cd /docker/world-wonders-api
73-
docker compose down
74-
docker compose pull
75-
docker compose up -d
71+
docker compose pull && docker compose up -d

0 commit comments

Comments
 (0)