mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Added CI step to print debug logs upon CLI failure
no issue - if Ghost-CLI tests fail, the CLI will put some extra debug logs in `~/.ghost/logs` - these are useful to help see what the issue is, so we should print them out if we're experiencing a failure - this commit cats the contents of the folder so we can see it in CI
This commit is contained in:
parent
1e54db2720
commit
d25b8680f4
1 changed files with 4 additions and 0 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -165,6 +165,10 @@ jobs:
|
|||
ghost install v3 --local -d $DIR
|
||||
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
- name: Print debug logs
|
||||
if: failure()
|
||||
run: cat ~/.ghost/logs/*.log
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue