Run bash script from repo

Hi,

I have a bash script in my git repo that I’d like to be able to run from my workflow. I tried adding a script step to run it with bash (after the git clone step),

bash ./tools/scripts/script.sh

but keep getting a “No such file or directory”. I also tried using the change-workdir with value "$BITRISE_SOURCE_DIR" before this step but still see the same error.

I feel I’m missing something basic here. Could anyone please help point me to what I may be doing wrong?

Please ignore this (had a error in my file :man_facepalming: )

1 Like

Got it, glad to hear you managed to resolve it @anselm.meyn :wink:

I am also facing same issue and there is nothing wrong with my code.
All bash scripts are running successfully in command line but on calling those files from repo it is showing error.