Run a post-deployment CI/CD script
HelpCenter
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 cosaIf 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
⚠️ Este artículo ha sido traducido por un programa de traducción automática.