Skip to content

Commit c8594ae

Browse files
committed
ci: implement GitHub Actions for remote SSH execution
- Add example GitHub Actions workflow for executing remote SSH commands using password authentication Signed-off-by: appleboy <[email protected]>
1 parent aabaf12 commit c8594ae

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,29 @@ assignees: appleboy
1111

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

14-
## Yaml Config
14+
## Yaml Config
1515

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

18+
```yaml
19+
name: remote ssh command
20+
on: [push]
21+
jobs:
22+
23+
build:
24+
name: Build
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: executing remote ssh commands using password
28+
uses: appleboy/[email protected]
29+
with:
30+
host: ${{ secrets.HOST }}
31+
username: ${{ secrets.USERNAME }}
32+
password: ${{ secrets.PASSWORD }}
33+
port: ${{ secrets.PORT }}
34+
script: whoami
35+
```
36+
1837
## Related environment
1938
2039
Please provide the following information:

0 commit comments

Comments
 (0)