-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
How can I pass secrets to the SSH command?
Running the following command doesn't output MY_SECRET as an environment variable.
Thanks
- name: Start container services
uses: garygrossgarten/github-action-ssh@release
env:
MY_SECRET: ${{ secrets.MY_SECRET }}
with:
host: ${{ steps.tf_out.outputs.vm_ip }}
username: terraform
privateKey: ${{ secrets.TF_KEY }}
command: |
printenvMetadata
Metadata
Assignees
Labels
No labels