Skip to content

Commit

Permalink
navigate back to root dir if skipping change (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
  • Loading branch information
Jdubrick authored Dec 6, 2024
1 parent d82af6d commit 3993403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/upload-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
cd $dir
if [ ! -f config.env ]; then
echo "No config.env file present in changed directory, skipping ..."
cd $BASE_DIR
continue
fi
source config.env
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
cd $dir
if [ ! -f config.env ]; then
echo "No config.env file present in changed directory, skipping ..."
cd $BASE_DIR
continue
fi
echo "Running 'docker build' in $dir ..."
Expand Down

0 comments on commit 3993403

Please sign in to comment.