Thanks to visit codestin.com
Credit goes to github.com

Skip to content

onspli/setup-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

setup-ssh

Setup SSH GitHub Action

Example

name: Test SSH

on:
  workflow_dispatch:
  
jobs:
  deploy:
    runs-on: ubuntu-latest
      - name: Setup SSH
        uses: onspli/setup-ssh@main
        with:
          private-key: ${{ secrets.SSH_PRIVATE_KEY }}
          host: github.com
          user: git
          port: 22

      - name: Test SSH connection
        run: ssh -T [email protected]

About

Setup SSH GitHub Action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published