Skip to content

Instantly share code, notes, and snippets.

@totten
Created August 21, 2014 22:59
Show Gist options
  • Save totten/1e288f8ea4f5c9a94f67 to your computer and use it in GitHub Desktop.
Save totten/1e288f8ea4f5c9a94f67 to your computer and use it in GitHub Desktop.
Pseudocode for demo rebuilds
foreach $demosite
mark $demosite offline
civibuild destroy $demosite
civibuild create $demosite
mark $demosite online
foreach $demosite
civibuild create {$demosite}.tmp
if success
mark $demosite offline
civibuild destory {$demosite}
move $demosite.tmp to $demosite
mark $demosite online
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment