actRunners/.gitea/workflows/02_ssh_key.yaml
Martin Cholewa 23da1355a3
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 34s
PASSWORD
2025-01-30 11:33:00 +01:00

32 lines
624 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 }}
port: 22
script: |
whoami
ls -all