Skip to content

Commit

Permalink
ci: implement GitHub Actions for remote SSH execution
Browse files Browse the repository at this point in the history
- Add example GitHub Actions workflow for executing remote SSH commands using password authentication

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Jun 1, 2024
1 parent aabaf12 commit c8594ae
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,29 @@ assignees: appleboy

A clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem.

## Yaml Config
## Yaml Config

Please post your Yaml configuration file along with the output results.

```yaml
name: remote ssh command
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami
```
## Related environment
Please provide the following information:
Expand Down

0 comments on commit c8594ae

Please sign in to comment.