"Updates"
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
USER=pleb
|
USER=pleb
|
||||||
HOST=bob
|
HOST=carlo
|
||||||
DIR=/var/www/tpml/ # the directory where your website files should go
|
DIR=/mnt/ssd/www/tpml/ # the directory where your website files should go
|
||||||
|
|
||||||
hugo && rsync -avz --rsync-path='sudo rsync' --progress -e ssh --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
hugo && rsync -avz --rsync-path='sudo rsync' --progress -e ssh --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="Hugo 0.126.1">
|
<meta name="generator" content="Hugo 0.131.0">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Accueil</title>
|
<title>Accueil</title>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user