Jump to content

Richard Christian

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Richard Christian

  1. Hello,

     

    I am trying to run a terminal command "terminus site:list" but keep getting error when trying to use the Run Script action. I've read in other articles it's because the terminal doesn't load the user profile but I can not figure out how to set the $PATH variable in the workflow to make this command accessible.

     

    I installed Terminus using composer so I created an alias in my .bash_profile that is "alias composer='php ~/composer.phar'" . I've also listed the rest of my .bash_profile below for reference.

     

    How do I get this to work with Run Script?

    How do I get terminal to load the $PATH variable?

     

    export PATH="/usr/local/mysql/bin:~/.composer/vendor/bin:$PATH"
    alias composer='php ~/composer.phar'

     

    Reference Articles:

     

     

     

    Thanks,

    Rich

×
×
  • Create New...