Created
December 10, 2019 22:11
-
-
Save ianchen06/7a9ba471f832ac23357f5e8494c688c8 to your computer and use it in GitHub Desktop.
Execute only when specified module is changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff-tree --no-commit-id --name-only -r `git rev-parse master` | awk -F "/" '{print $1}' | uniq | | |
grep mysql2hive && /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment