The docs talk about modifying $PATH:
Now I am wondering how to use environment variables provided by circle CI and my own variables. Here’s my broken code where I am trying to echo the 2 variables.
jobs: build: environment: BASH_ENV: ~/.bashrc working_directory: ~/my-project docker: - image: circleci/node:4.8.2 steps: - checkout - run: echo 'export PATH=/opt/local/bin:$PATH' >> $CIRCLE_BRANCH - run: echo 'export PATH=/opt/local/bin:$PATH' >> $MY_CUSTOM_VAR - run: name: check-environment command: | echo $CIRCLE_BRANCH echo $MY_CUSTOM_VAR
How do I fix this?