Using Github Action ${{ context }} in shell script

Currently I’m running into issues trying to get ${{ secrets.ENVIRONMENT_VARIABLE_NAME }} work within a bash script file. Does anyone know if using ${{ }} context is allowed in a bash script file? I can’t find any information on this in the Github Actions documentation

Step sample

- name: Run migrations
  run: sh ./github/scripts/


echo 'HELLO_WORLD='${{ secrets.HELLO_WORLD }} >> .env // Code line 1

Git log error

.github/scripts/ 1: .github/scripts/ Bad substitution  

Hi @empire-jlee!

Thanks for being a part of the GitHub Community Forum!

It seems you have already opened this topic for discussion in another thread here: Using Github Action environment variables in shell script . In an effort to keep the Community Forum organized and make it easier for other users to find information, we ask that users continue the conversation in existing threads, instead of opening new ones about the same topic.

For this reason, I’ll be closing this topic, and you can continue the conversation in the original thread, if you’d like. It’s more likely you’ll get engagement and answers to your own questions this way, too.