For use with dokku
Run commands in the container before its deployment. Using this plugin allows to use commands that needs volumes for example.
- Dokku version
0.4
or higher
On the dokku server, you need to install the plugin in the standard Dokku way. Specifically:
# dokku 0.4.x
dokku plugin:install https://github.com/OzConseil/dokku-deploy-script.git
In your application's folder, add a .deploy
file with your commands:
cd /var/www && composer run-script deploy
Thanks to dokku-predeploy-tasks.