Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mdashx/basicwebtheme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/Makefile')
-rw-r--r--exampleSite/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/Makefile b/exampleSite/Makefile
new file mode 100644
index 0000000..5dfdfa2
--- /dev/null
+++ b/exampleSite/Makefile
@@ -0,0 +1,4 @@
+.PHONY: deploy
+deploy:
+ ssh ${USER}@${HOST} 'mkdir -p ${DEPLOY_PATH}'
+ hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DEPLOY_PATH}