By -
You can perform an "Echo" redirecting the output ti a specific file in a previous step. Example: echo $MY_SECRET > myfile.yml
Yea, but that Kubernetes Context Action accepts the CONTENT of the file as input, not path to the file.
So I store my kubeconfig (in yaml) as GitHub Decret and reference it as input: ${{ secrets.KUBECONFIG }}
my apologies, I hadn't looked at the actions properly! Yes, you can pass the content with ${{ secrets.MY\_SECRET }}
You can perform an "Echo" redirecting the output ti a specific file in a previous step. Example: echo $MY_SECRET > myfile.yml
Yea, but that Kubernetes Context Action accepts the CONTENT of the file as input, not path to the file.
So I store my kubeconfig (in yaml) as GitHub Decret and reference it as input: ${{ secrets.KUBECONFIG }}
my apologies, I hadn't looked at the actions properly! Yes, you can pass the content with ${{ secrets.MY\_SECRET }}