Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier committed Aug 20, 2024
1 parent 883a5a9 commit 9b4d19e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

echo "Running post-pull hook"
# Check if a specific file has changed
if git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep -q "types/src/front/lib/actions/registry.ts" ; then
./front/admin/copy_apps.sh
fi
exit 1

8 changes: 8 additions & 0 deletions .husky/post-update
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo "Running post-pull hook"
# Check if a specific file has changed
if git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep -q "types/src/front/lib/actions/registry.ts" ; then
./front/admin/copy_apps.sh
fi
exit 1

0 comments on commit 9b4d19e

Please sign in to comment.