- Help Center
- Development
- Déployer avec PS Hosting
- Perform custom actions
Perform custom actions
Marine P.
-Updated on Thursday, March 7, 2024
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
Share