Fix env var forwarding in remote-install, add remote-clean target

This commit is contained in:
2026-06-13 20:51:53 +02:00
parent a815593f52
commit 643b1ccc61
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -22,10 +22,13 @@ content-pull:
# Remote
remote-install:
ssh $(SERVER) "bash -s" < scripts/server-install.sh
ssh $(SERVER) "WEBROOT=$(WEBROOT) USER_REPO=$(USER_REPO) bash -s" < scripts/server-install.sh
remote-install-plugins:
ssh $(SERVER) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"
remote-upgrade-grav:
ssh $(SERVER) "cd $(WEBROOT) && php bin/grav upgrade"
remote-clean:
ssh $(SERVER) "cd $(WEBROOT) && php bin/grav clearcache"