You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jamie Wagner edited this page Aug 26, 2014
·
3 revisions
If you administer your content through the control panel, chances are you have some content changes and additions up on the server. This command will pull the contents of the _content directory down for you to keep things in sync. Stag can pull content with git, rsync or ftp.
Configuration
The pull_content config needs to be nested under the server name in your servers configuration.
commit_message: If you are using git, this will be the commit message used when the server pushes up changes.
content_directories: If you don't set this, only the _content directory's content will be pulled down. If you are uploading files to a separate directory, you might want to add that file here.
Use
####stag pull_content <server_name>
This will pull content down as you have it configured to do so.