Skip to content

Update main.yml

Update main.yml #25

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ '*' ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Test SSH
run: |
ssh [email protected] ls /
docker -H ssh://[email protected] ps