diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/sh + +user="root" +host="rabiega.xyz" +dir="/var/www/mysite/" + +cd "$HOME"/website/ && hugo && rsync -avz --delete "$HOME"/website/public/ ${user}@${host}:${dir} && cd - || exit + +exit 0 |