mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-22 18:19:36 +01:00
27 lines
526 B
YAML
27 lines
526 B
YAML
|
name: testing master
|
||
|
on: [push]
|
||
|
|
||
|
env:
|
||
|
FOO: "BAR"
|
||
|
BAR: "FOO"
|
||
|
|
||
|
jobs:
|
||
|
testing01:
|
||
|
name: default flag testing
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: checkout
|
||
|
uses: actions/checkout@v1
|
||
|
|
||
|
- name: try bash script
|
||
|
uses: appleboy/ssh-action@master
|
||
|
with:
|
||
|
host: 2402:1f00:8000:800::2628
|
||
|
username: ubuntu
|
||
|
password: ${{ secrets.OVH_PASSWORD }}
|
||
|
protocol: tcp6
|
||
|
port: 22
|
||
|
command_timeout: 30s
|
||
|
script: |
|
||
|
whoami
|