actRunners/.gitea/workflows/02_ssh_key.yaml
Martin Cholewa 2663854675
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 27s
key
2025-01-30 11:36:22 +01:00

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