Compare commits

..

No commits in common. "293acb6fa0284794e3518323f6cc222a5a681a58" and "f749bcb05daba8c1e2bb2956017a24e570088d7d" have entirely different histories.

3 changed files with 6 additions and 9 deletions

View File

@ -34,4 +34,4 @@ canonifyurls = true
home = "/"
blog = "/blog/"
links = "/links/"
videos = "https://rumble.com/c/gmgauthier2"
videos = "https://odysee.com/@ataricode:0?view=content"

2
new
View File

@ -42,4 +42,4 @@ filename=${tmp,,}
echo "$filename"
hugo new "${contentType}"/"${filename}".md
# $ED content/"${contentType}"/"${filename}".md
$ED content/"${contentType}"/"${filename}".md

11
publish
View File

@ -3,13 +3,10 @@
# commit and push...
git add .;git commit -m"$@";git push -u origin master
echo "Remove old deploy site..."
rm -rf public # destroy the old build first
echo "Generate new deploy site..."
rm -rf public # destroy the old build first
hugo # build the new site
echo "Set deploy site ownership..."
sudo chown -R gmgauthier:www-data ./public # set the ownership before transfer
echo "Rsync to host..."
rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com
sudo chown -R gmgauthier:www-data ./public/* # set the ownership before transfer
rsync --super -avh -e ssh ./public/* gmgauthier@diogenes:/hosting/sites/ataricode.com
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash