mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-22 10:09:37 +01:00
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 <appleboy.tw@gmail.com>
This commit is contained in:
parent
aabaf1254d
commit
c8594ae37d
1 changed files with 20 additions and 1 deletions
19
.github/ISSUE_TEMPLATE/bug_report.md
vendored
19
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -15,6 +15,25 @@ A clear and concise description of what the bug is. If applicable, add screensho
|
||||||
|
|
||||||
Please post your Yaml configuration file along with the output results.
|
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/ssh-action@v1.0.3
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script: whoami
|
||||||
|
```
|
||||||
|
|
||||||
## Related environment
|
## Related environment
|
||||||
|
|
||||||
Please provide the following information:
|
Please provide the following information:
|
||||||
|
|
Loading…
Reference in a new issue