add ssh test workflow
Build and Deploy MkDocs / deploy-docs (push) Failing after 5m39s

This commit is contained in:
2026-10-10 09:45:56 +02:00
parent 20c0606046
commit 7eca35c295
+20
View File
@@ -0,0 +1,20 @@
name: Test SSH Connection
on:
workflow_dispatch: # Allows you to trigger this manually from the Gitea UI
jobs:
test-ssh:
runs-on: ubuntu-latest
steps:
- name: Run SSH Command Test
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.WEB_HOST }}
port: ${{ secrets.WEB_PORT }}
username: ${{ secrets.WEB_USER }}
key: ${{ secrets.WEB_KEY }}
script: |
echo "Successfully connected!"
whoami
pwd