diff options
| author | Adam Olech <nddr89@gmail.com> | 2021-10-24 19:02:10 +0200 |
|---|---|---|
| committer | Adam Olech <nddr89@gmail.com> | 2021-10-24 19:02:10 +0200 |
| commit | 0deab84c3e65ef3b42e4a5a928b4b8df7ea6bebb (patch) | |
| tree | 18c03d80b0f90b718ee684ee02a2be7f23628345 | |
| parent | e971532833605f9102545202ba04a878ddf214dc (diff) | |
Add deploy stuff
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | deploy.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..7e5b0f5 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +hugo && rsync -rvz -e 'ssh -p 22' --rsync-path="sudo rsync" --delete public/ adam@aole.ch:/var/www/aole.ch |
