You've already forked ssh-action
mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2025-12-16 10:28:28 +00:00
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -75,3 +75,15 @@ jobs:
|
||||
script: |
|
||||
echo "I am $FOO, thanks"
|
||||
echo "I am $BAR, thanks"
|
||||
|
||||
- name: ssh key passphrase
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY2 }}
|
||||
port: ${{ secrets.PORT }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
script: |
|
||||
whoami
|
||||
ls -al
|
||||
|
||||
Reference in New Issue
Block a user