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
Comments
0 comments
Article is closed for comments.