period3.xyz/deploy.sh

9 lines
159 B
Bash

#!/usr/bin/env bash
repo="$1"
deploypath="$HOME/gemini/content"
sourcepath="content"
[[ -d $deploypath ]] && rm -r $deploypath
cp -r $sourcepath $deploypath