Skip to content

Commit

Permalink
🚀 Add Path Sensitivity to Github Actions
Browse files Browse the repository at this point in the history
Ensure that Docker build and push job is only initiated when relevant livebook or Docker-related files are changed.
  • Loading branch information
KagemniKarimu committed Jan 9, 2025
1 parent 19d4533 commit 54231dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@ on:
push:
branches: ["main"]
tags: ["v*.*.*"]
paths:
- "Dockerfile"
- ".github/workflows/docker-image.yml"
- "livebook/**"
pull_request:
branches: ["main"]
paths:
- "Dockerfile"
- ".github/workflows/docker-image.yml"
- "livebook/**"

jobs:
build-and-push:
Expand Down

0 comments on commit 54231dc

Please sign in to comment.