I have a file named `deploy.sh` in the repository and I want to access some pipeline environment variables within the script.
I use the following command in my `bitbucket-pipelines.yml` file:
ssh user@host 'bash -s' < 'deploy.sh'
The `deploy.sh` contains some environment variables that are defined in the pipeline:
echo $TEST_FOLDER_PATH
The `TEST_FOLDER_PATH` defined in the `Test` environment as follows:
So, the question is, how do I read the `TEST_FOLDER_PATH` within the `deploy.sh` file?