Fix task synchronization
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
ee2af96dfd
commit
cd607f0c79
4 changed files with 15 additions and 21 deletions
|
@ -26,12 +26,8 @@ if [ "${IS_WORK}" = "1" ]; then
|
|||
export GIT_SSH_COMMAND="ssh -i /home/severin/.ssh/severin_id_rsa"
|
||||
fi
|
||||
|
||||
task sync
|
||||
|
||||
if [ "${IS_WORK}" = "0" ]; then
|
||||
cd "/home/severin/tasks" || exit
|
||||
git pull
|
||||
git add --all
|
||||
git commit -s -m "Update tasks"
|
||||
git push origin master
|
||||
fi
|
||||
cd "/home/severin/tasks" || exit
|
||||
git pull
|
||||
git add --all
|
||||
git commit -s -m "Update tasks"
|
||||
git push origin master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue