Added some update hooks for uberspaces with local yadm installation
This commit is contained in:
parent
0a13950d78
commit
c3cfc79978
2 changed files with 12 additions and 0 deletions
6
.config/yadm/hooks/pre_pull
Normal file
6
.config/yadm/hooks/pre_pull
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -d "$HOME/.yadm-project" ]; then
|
||||||
|
cd $HOME/.yadm-project
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
6
.config/yadm/hooks/pre_status
Normal file
6
.config/yadm/hooks/pre_status
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -d "$HOME/.yadm-project" ]; then
|
||||||
|
cd $HOME/.yadm-project
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
Loading…
Add table
Reference in a new issue