This commit is contained in:
parent
b0f74cb8d9
commit
e609fa6e49
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/test.yaml
Normal file
18
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Test SSH Workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
exec-command:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-alpine
|
||||
steps:
|
||||
- name: Comando remoto via SSH
|
||||
run: |
|
||||
ssh -o StrictHostKeyChecking=no root@192.168.10.1 -p 2225 -t 'system resource print'
|
Loading…
Add table
Add a link
Reference in a new issue