Fix env var forwarding in remote-install, add remote-clean target
This commit is contained in:
@@ -22,10 +22,13 @@ content-pull:
|
|||||||
|
|
||||||
# Remote
|
# Remote
|
||||||
remote-install:
|
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:
|
remote-install-plugins:
|
||||||
ssh $(SERVER) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"
|
ssh $(SERVER) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"
|
||||||
|
|
||||||
remote-upgrade-grav:
|
remote-upgrade-grav:
|
||||||
ssh $(SERVER) "cd $(WEBROOT) && php bin/grav upgrade"
|
ssh $(SERVER) "cd $(WEBROOT) && php bin/grav upgrade"
|
||||||
|
|
||||||
|
remote-clean:
|
||||||
|
ssh $(SERVER) "cd $(WEBROOT) && php bin/grav clearcache"
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ After `make content-push`, the Git Sync plugin on the server pulls the changes a
|
|||||||
```
|
```
|
||||||
make remote-install-plugins # install/update plugins from plugins.txt on server
|
make remote-install-plugins # install/update plugins from plugins.txt on server
|
||||||
make remote-upgrade-grav # upgrade Grav core on server
|
make remote-upgrade-grav # upgrade Grav core on server
|
||||||
|
make remote-clean # clear Grav cache on server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
|
|||||||
Reference in New Issue
Block a user