If you are triggering the request from the Laravel app, you can simply use the in-built HTTP client...
It should be $FORGE_VAR_BRANCH and not $FORGE_ENV_BRANCH !
This seems weird. I just tried passing a branch to my deployment script and was able to get the valu...
public function index(Request $request) { $name = $request->input('name');...
Make sure you are using the forge variable in the deployment script like this: $FORGE_VAR_{param} I...
The Laravel portal for problem solving, knowledge sharing and community building.
The community