Greetings, I want to pass my branch name to the deployment staging section of circle.yml via the CIRCLE_BRANCH variable, but it does not seam to work.
Here is my circle.yml file:
#n#Customize the test machine
America/Los_Angeles # Set the timezone
Customize deployment commands
branch: $CIRCLE_BRANCH commands: - ./testDeploy.sh
# A list of hashes representing hooks. Only the url field is supported. - url: https://circleci.com/hooks/github