All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 27s
33 lines
659 B
YAML
33 lines
659 B
YAML
name: Update package
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
logLevel:
|
|
description: 'Log level'
|
|
required: true
|
|
default: 'warning'
|
|
type: choice
|
|
options:
|
|
- info
|
|
- warning
|
|
- debug
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: executing remote ssh commands using password
|
|
uses: appleboy/ssh-action@v1.2.0
|
|
with:
|
|
host: 192.168.11.205
|
|
username: xchose
|
|
#password: genius
|
|
#password: ${{ secrets.PASSWORD }}
|
|
key: ${{ secrets.KEY }}
|
|
port: 22
|
|
script: |
|
|
whoami
|
|
ls -all |