Skip to content

Commit

Permalink
get container to rebuild when requirements change
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglimEar committed Nov 1, 2023
1 parent 9a64554 commit 1ee8282
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
echo "$file was changed"
if [[ $file = .devcontainer* ]]; then
devcontainer=true
elif [[ $file = *requirements.txt* ]]; then
devcontainer=true
noncontainer=true
elif [[ $file = Gemfile* ]]; then
devcontainer=true
noncontainer=true
else
noncontainer=true
fi
Expand Down

0 comments on commit 1ee8282

Please sign in to comment.