Skip to content

How to use environment variables? #25

Closed Locked Answered by mishushakov
muffl0n asked this question in Q&A
Discussion options

You must be logged in to vote

We added support for environment variables in the current version of stepci, thanks to a generous contribution from @npostulart
See pull request #33

  1. Install the latest version of stepci available

    npm install -g stepci@latest
    
  2. Run your workflow with custom environment variables

    stepci run workflow.yml -e env=$VAR
    
  3. Additionally, see our CLI Reference

Hopefully this answers your question!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@muffl0n
Comment options

Answer selected by mishushakov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants