Fix env var forwarding in remote-install, add remote-clean target
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user