Switch from web update pre-push hook to push script that also updates the data subtree
This commit is contained in:
parent
8452b1e426
commit
5038db48c1
|
@ -0,0 +1,8 @@
|
||||||
|
#/bin/sh
|
||||||
|
BRANCH=`git branch --show-current`
|
||||||
|
echo "Pushing branch $BRANCH"
|
||||||
|
git push
|
||||||
|
echo "Pushing subtree data for $BRANCH"
|
||||||
|
./update_subtree.sh
|
||||||
|
echo "Pushing a new web build for $BRANCH"
|
||||||
|
./update_web_build.sh
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Updates the data subtree repo
|
||||||
|
BRANCH=`git branch --show-current`
|
||||||
|
REMOTE=gogs@git.ufeff.net:birdulon/ChocolateBirdData.git
|
||||||
|
git subtree push -P data $REMOTE $BRANCH
|
Loading…
Reference in New Issue