Scripts and some refactoring
This commit is contained in:
parent
d6b4d0f2ac
commit
3a0b7314e1
4 changed files with 27 additions and 14 deletions
8
remote-system.sh
Executable file
8
remote-system.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
ssh -tA ${1} "
|
||||
cd ~/mlaga97-nix \
|
||||
&& git fetch \
|
||||
&& git reset --hard origin/main \
|
||||
&& ./system.sh \
|
||||
&& git push
|
||||
" && git fetch
|
Loading…
Add table
Add a link
Reference in a new issue