Skip to content

Commit 8acc59d

Browse files
committed
journeys: the screenshots go up even when a journey failed
1 parent 4912461 commit 8acc59d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,9 @@ jobs:
305305
- run: scripts/journeys/run.sh
306306
env:
307307
DATABASE_URL: postgres://loco:loco@127.0.0.1:55433/visualci_journeys
308-
- uses: ./clients/github-action
308+
# The screenshots go up even when a journey failed: its last one shows where it stopped.
309+
- if: ${{ !cancelled() }}
310+
uses: ./clients/github-action
309311
with:
310312
token: ${{ secrets.VISUALCI_TOKEN }}
311313
cli: target/debug/visualci

0 commit comments

Comments
 (0)