Skip to content

Instantly share code, notes, and snippets.

@aschmoe
Created April 28, 2015 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aschmoe/2d6dece7e1e8fdf10fac to your computer and use it in GitHub Desktop.
Save aschmoe/2d6dece7e1e8fdf10fac to your computer and use it in GitHub Desktop.
Registry rebuild on platform.sh
ssh {ID}@ssh.us.platform.sh << EOF
cd ~/tmp
php registry_rebuild/registry_rebuild.php
bash -l
EOF
@damz
Copy link

damz commented Apr 29, 2015

You can also just get registry_rebuild via drush dl during the build process (just put drush dl registry_rebuild in a build hook), and use it like:

drush @<projectid>.<branch> rr

@williammcrae
Copy link

hooks:
    build: |
        drush dl registry_rebuild-7.x -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment