Fix some DevOps issues

This commit is contained in:
Christian Wolf 2024-01-18 20:14:54 +01:00
parent 6acc84aaaf
commit d420fab3bf
2 changed files with 6 additions and 3 deletions

View File

@ -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/

View File

@ -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",