From d420fab3bf00045899979ebfd0684b7037f88950 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Thu, 18 Jan 2024 20:14:54 +0100 Subject: [PATCH] Fix some DevOps issues --- Makefile | 6 ++++-- package.json | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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",