mlaga97-nix/remote-system.sh
2025-08-23 18:08:26 -05:00

8 lines
165 B
Bash
Executable file

#!/usr/bin/env bash
ssh -tA ${1} "
cd ~/mlaga97-nix \
&& git fetch \
&& git reset --hard origin/main \
&& ./system.sh \
&& git push
" && git fetch