period3.xyz/deploy.sh

9 lines
159 B
Bash
Raw Normal View History

2022-04-08 03:04:03 +02:00
#!/usr/bin/env bash
2022-09-26 22:50:52 +02:00
repo="$1"
deploypath="$HOME/gemini/content"
sourcepath="content"
2022-04-08 03:04:03 +02:00
2022-09-26 22:50:52 +02:00
[[ -d $deploypath ]] && rm -r $deploypath
cp -r $sourcepath $deploypath