Perform custom actions after deploy
HelpCenter
A proposito di questa formazione
Siamo qui per aiutarti
Hai difficoltà a prendere una decisione riguardo a questa formazione?
contact_support Chiedici qualsiasi cosaOn 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.
You need to place this script at the root of the PrestaShop folder
/vol/site/current/post-deploy.sh
For a shell script
#!/bin/bash
# my shell script
For a PHP script
#!/usr/bin/env php
# my php script
⚠️ Questo articolo è stato tradotto da un programma di traduzione automatica.