refactor: rename workflow file
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 39s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 39s
This commit is contained in:
parent
e38abf70da
commit
a4554b79e5
31
.gitea/workflows/02_ssh_key.yaml
Normal file
31
.gitea/workflows/02_ssh_key.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
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
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
whoami
|
||||||
|
ls -all
|
Loading…
x
Reference in New Issue
Block a user