publish to home directory now

This commit is contained in:
Greg Gauthier 2024-02-14 20:21:38 +00:00
parent 6669640605
commit 381c8d29a9
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@
{{ with .Site.Social.twitter }} {{ with .Site.Social.twitter }}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank"> <a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fa fa-video fa-fw"></i>My X (Twitter)</a> <i class="fa fa-twitter fa-fw"></i>My X (Twitter)</a>
</li> </li>
{{ end }} {{ end }}
@ -41,7 +41,8 @@
{{ with .Site.Social.gitea }} {{ with .Site.Social.gitea }}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" href="https://gitea.gmgauthier.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-code fa-fw"></i>My Code</a> <a class="pure-menu-link" href="https://gitea.gmgauthier.com/{{ . }}" rel="me" target="_blank">
<i class="fa fa-code fa-fw"></i>My Code</a>
</li> </li>
{{ end }} {{ end }}

View File

@ -8,6 +8,6 @@ hugo # build the new site
sudo chown -R gmgauthier:www-data ./public/* # set the ownership before transfer sudo chown -R gmgauthier:www-data ./public/* # set the ownership before transfer
rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/var/www/gmgauthier.com rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/home/gmgauthier/gmgauthier.com
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash # echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash