On PS Hosting you can run scripts after specific actions. This is the case for deployment and clone.
POST Deploy
In your repository you can add a new file called post-deploy.sh which will be run after each deployment and duplication. This file may include a shell script as a PHP script.
For a shell script
#!/bin/bash
# my shell script
For a PHP script
#!/usr/bin/env php
# my php script
Comments
0 comments
Article is closed for comments.