We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 680ddb7 commit b78b012Copy full SHA for b78b012
2 files changed
.travis.yml
@@ -95,6 +95,12 @@ jobs:
95
- git diff --stat --exit-code .travis.yml
96
97
- stage: Deploy
98
+ before_script:
99
+ - |
100
+ if ! git diff --name-only "$TRAVIS_COMMIT_RANGE" -- | grep -Eq "Dockerfile$"; then
101
+ echo "Skip deployment as none of the Dockerfiles has been changed."
102
+ exit
103
+ fi
104
script:
105
- ./generate-stackbrew-pr.sh "$TRAVIS_COMMIT_RANGE"
106
travis.yml.template
@@ -93,6 +93,12 @@ jobs:
93
94
0 commit comments