A proposito di questa formazione

Siamo qui per aiutarti

Hai difficoltà a prendere una decisione riguardo a questa formazione?

contact_support Chiedici qualsiasi cosa

If you need to add actions following a deploy, you can add a bash script to the root of your PrestaShop.

This script must be in

/vol/site/current

And have the precise name:

.post-deploy.sh


Its content is that of a classic bash script and must start with #!/bin/bash

#!/bin/bash

# This script is empty at the moment
# Add your code here


Example for a .post-deploy.sh script that builds a javascript application:

#!/bin/bash

npm install
npm run build

 

 

 

⚠️ Questo articolo è stato tradotto da un programma di traduzione automatica.