We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6f2d0 commit f5e0259Copy full SHA for f5e0259
scripts/check-sample-files.sh
@@ -16,9 +16,12 @@ for dir in ./samples/*/; do
16
fi
17
else
18
# if there is a compose.yaml file, check if it is valid
19
- if ! defang compose config -C "${dir}" > /dev/null 2>/dev/null; then
20
- echo " - [ ] ${dir}/compose.yaml contains errors"
21
- fi
+ (
+ cd $dir
+ if ! defang compose config > /dev/null 2>/dev/null; then
22
+ echo " - [ ] ${dir}compose.yaml contains errors"
23
+ fi
24
+ )
25
26
27
# Check that we have a .github/workflows/deploy.yaml file
0 commit comments