diff --git a/Makefile b/Makefile index e201996..e683087 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,8 @@ tarball: build .PHONY: tarball build +trigger-sync-to-stage: + ssh tsc-homepage@hh.wolf-stuttgart.net -sync-to-stage: - rsync -ahPv --delete --delete-delay --info=progress2 public/ christian@hh.wolf-stuttgart.net:/srv/http/tsc/hugo/ +sync-to-stage-manual: + rsync -ahPv --delete --delete-delay --info=progress2 --chown tsc-homepage:tsc-homepage public/ root@hh.wolf-stuttgart.net:/srv/http/tsc/hugo/ diff --git a/package.json b/package.json index 8ebbe86..e41df88 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "server": "hugo-extended server --bind 0.0.0.0", "build": "hugo-extended --minify", "stylelint:check": "stylelint \"**/*.scss\"", - "stylelint:fix": "stylelint --fix \"**/*.scss\"" + "stylelint:fix": "stylelint --fix \"**/*.scss\"", + "deploy": "ssh tsc-homepage@hh.wolf-stuttgart.net" }, "repository": { "type": "git",