I have a .yml
file and it has content like below:
env_values:
stage: build
before_script: some-value
So I need to read and get the values for stage
and before_script
, so they will have build
and some-value
respectively.
Is there a good easy workaround in bash scripting to read this file and get the values?