Closed M4TY closed 1 year ago
You will need to make sure the scripts are mounted to the Docker container. You can place the scripts in the config folder along with the hooks.yml file, or add additional volume mounts.
Hi, I'm having the same problem. I can see that the volumes are mounted, but if I try to run the script, the container can't find it. Here is a screenshot of me trying to run the script manually:
Hi, I'm having the same problem. I can see that the volumes are mounted, but if I try to run the script, the container can't find it. Here is a screenshot of me trying to run the script manually:
Nevermind, my issue was the shebang was wrong! I had #!/bin/bash
instead of the #!/usr/bin/env sh
.
When deploying my hooks.yml file, it cannot find the scripts I made for each of my deployments. Is this a known issue?