Basic usage of Deploy

Last modified: March 28, 2009 - 00:36

For this demo we will create and deploy a new node, then deploy an update to the node.

  1. So on your staging server go to node/add/story and create a new story. Give it whatever options you like and save it.
  2. Go to admin/content/node. Check the node you just created, choose 'Deploy' from Update Options, and click the Update button.
  3. Choose 'Live Server' from the Server select list, and enter the username and password for the user you wish your deployment to run as on the destination server. Click the Submit button.
  4. Your deployment should go through two phases - Processing deployment plan dependencies and Pushing deployment plans.
  5. You should end up at Deployment Log Details, which lists the node you just deployed and a Result of 'Success'.
  6. Go to admin/content/node on your destination server. Your node should be listed there, and if you edit the node your settings should have all been transferred properly.
  7. Now if you like you can return to this node on your source server, make some changes to the node, and go through the same process to deploy it to the destination server. Your changes should be transferred properly.

deploy twice and your production content updates first, not 2nd

mooreds - August 23, 2009 - 03:27

If you deploy nodes twice and your stage content changes both times, but your production content only changes the first time, check your server time. The deploy module has a check to see if the node on production has changed more recently than the node on stage, and doesn't push the content. If this is the case, you won't see a 'proceeding' message, but neither will you get an error message.

nodes don't deploy

mooreds - August 23, 2009 - 03:28

Make sure you have file upload turned off. See this issue: http://drupal.org/node/461062

 
 

Drupal is a registered trademark of Dries Buytaert.