Sobre esta formación

Nosotras estamos aquí para ayudar

¿Tienes problemas para tomar una decisión sobre esta formación?

contact_support Pregúntanos cualquier cosa

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.

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

 

⚠️ Este artículo ha sido traducido por un programa de traducción automática.