appleboy/ssh-action

Doc Request: Example of using Github Env Variables

roablep opened this issue · 1 comments

Is it possible to include an example of how to use environment variables in ssh-action per https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#environment-files

Use case: I'd like to run some commands on the remote server, store the results of those commands in a file or variable, and use those stored files or variables in subsequent steps in my action on a runner (not on the remote server)

Edit: can't remove the bug label

Duplicated of #325