Skip to content

Commit

Permalink
FIX Don't try to create a file in non-existent dir (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 29, 2022
1 parent 86a8819 commit 11d31ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ jobs:
cat .env
# silverstripe logging
cat << EOF >> app/_config/my-logger.yml
if [[ -d "./app/_config/" ]]; then
cat << EOF >> app/_config/my-logger.yml
---
Name: error-logging
After: '*'
Expand All @@ -570,6 +571,7 @@ jobs:
- "$GITHUB_WORKSPACE/silverstripe.log"
- "notice"
EOF
fi
# Artifacts directory must be created after composer install as it would remove the artifacts directory
# This seems a bit strange, if you need to add an artifact at an earlier stage then revalidate that
Expand Down

0 comments on commit 11d31ee

Please sign in to comment.