server/deploy.sh

4 lines
191 B
Bash
Executable File

#!/bin/sh
scp -r "/Users/maddie/Documents/Code/server" jet.echo.clicks.domains:/home/maddie && ssh jet.echo.clicks.domains -t 'cd "server"; rm -rf .git; doas nixos-rebuild switch --flake .'