Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Jul 8, 2024
1 parent 1cdcdae commit abe9170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-single-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ jobs:
run: |
import os
list_of_paths = """${{ inputs.depends_on_paths }}""".split("\n")
# remove all empty lines
list_of_paths = list(filter(None, list_of_paths))
for path in list_of_paths:
if path == "":
continue
if os.path.isdir(f"{path}"):
path = f"{path}/*"
elif os.path.isfile(f"{path}"):
Expand Down

0 comments on commit abe9170

Please sign in to comment.