Skip to main content

Allow configure post and pre hooks directly from the repository

Something like:

Pre Deploy Actions .deployhq/pre_deploy:

#!/bin/bash
chmod 755 site/assets/cache -R
chmod 755 site/assets/files -R
chmod 755 site/assets/logs -R
chmod 755 site/assets/sessions -R


Post Deploy Actions .deployhq/post_deploy:

#!/bin/bash
php site/assets/cache/ClearCache.php
1 comment

Log in to comment and vote

Comments1

  • Michael Westwood

    •

    Jan 31, 2025

    This would be good so that as much deployment config as possible can be in Git rather than the DeployHQ UI - the .deploybuild.yaml config is a great step forward, and being able to configure scripts for Before Changes, Before Release Link, and After Changes would be a wonderful addition