feat: add remote-fetch-content to pull user content repo on server
Separate from remote-fetch (main repo) since content sync is handled by the git-sync plugin once configured; this is for one-off manual pulls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
@@ -107,6 +107,9 @@ remote-install:
|
|||||||
remote-fetch:
|
remote-fetch:
|
||||||
$(SSH) "git -C $(SITE_CONFIG_DIR) checkout main && git -C $(SITE_CONFIG_DIR) pull"
|
$(SSH) "git -C $(SITE_CONFIG_DIR) checkout main && git -C $(SITE_CONFIG_DIR) pull"
|
||||||
|
|
||||||
|
remote-fetch-content:
|
||||||
|
$(SSH) "git -C $(WEBROOT)/user checkout main && git -C $(WEBROOT)/user pull"
|
||||||
|
|
||||||
remote-install-plugins:
|
remote-install-plugins:
|
||||||
$(SSH) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"
|
$(SSH) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user