-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make it easier to debug test failures, hopefully
split .pages.sh error handling out into .post.sh via state file and put the latter to after the build result uploaded
- Loading branch information
Showing
4 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,9 @@ | |
{ | ||
"uses": "actions/[email protected]" | ||
}, | ||
{ | ||
"run": "./.post.sh" | ||
}, | ||
{ | ||
"id": "deployment", | ||
"uses": "actions/[email protected]" | ||
|
@@ -57,6 +60,9 @@ | |
}, | ||
{ | ||
"uses": "actions/[email protected]" | ||
}, | ||
{ | ||
"run": "./.post.sh" | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
echo ::group::Check whether .pages.sh failed anywhere | ||
state=$(cat .post.state || echo state-file-missing) | ||
if test -n "$state"; then | ||
echo "E: .pages.sh failed in: $state" | ||
exit 1 | ||
fi | ||
echo "I: nope, ok" | ||
echo ::endgroup:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ Copyright (c) 2014 mirabilos <[email protected]> | |
Copyright (c) 2015 Petr Shevtsov <[email protected]> | ||
Copyright (c) 2022, 2023 mirabilos <[email protected]> | ||
Deutsche Telekom LLCTO | ||
Copyright (c) 2025 mirabilos <[email protected]> | ||
and numerous contributors (see git log) | ||
|
||
Some tests additionally are: | ||
|