Actualiser .gitea/workflows/ping.yml.disable
This commit is contained in:
1 parent
5cd9b2b245
commit
320c5857ba
1 file changed
@@ -0,0 +1,17 @@
|
||||
name: ping-ssh
|
||||
on: [push]
|
||||
jobs:
|
||||
ping:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: SSH ping
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: |
|
||||
whoami
|
||||
hostname
|
||||
echo "CI->SSH OK"
|
||||
Reference in new issue
Block a user