diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-07-05 15:53:46 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-07-05 15:53:46 -0500 |
commit | 9b01ab0f7b946a0399f7a57a205d623697e0b183 (patch) | |
tree | 7cdcfce1c33305679f928643dc7b0405553569e5 | |
parent | 106fe45d51dc1b17bbbf31ba4259b25449b83279 (diff) |
remote publicize
-rwxr-xr-x | publicize.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/publicize.sh b/publicize.sh index 3ae0ce4..660bffe 100755 --- a/publicize.sh +++ b/publicize.sh @@ -1 +1,5 @@ -scp -r public/* root@blaise.zone:/var/www/cv.blaise.zone/html/ +#!/bin/bash +cd "$(dirname "$0")" +git pull +cp -r ./public/* /var/www/cv.blaise.zone/html/ + |