Skip to content

Commit 3993403

Browse files
authored
navigate back to root dir if skipping change (#16)
Signed-off-by: Jordan Dubrick <[email protected]>
1 parent d82af6d commit 3993403

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/upload-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
cd $dir
4040
if [ ! -f config.env ]; then
4141
echo "No config.env file present in changed directory, skipping ..."
42+
cd $BASE_DIR
4243
continue
4344
fi
4445
source config.env

.github/workflows/validate-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
cd $dir
3333
if [ ! -f config.env ]; then
3434
echo "No config.env file present in changed directory, skipping ..."
35+
cd $BASE_DIR
3536
continue
3637
fi
3738
echo "Running 'docker build' in $dir ..."

0 commit comments

Comments
 (0)