Skip to content

Update main.yml

Update main.yml #29

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 }}
# known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
- name: Test SSH
run: |
ssh -o "StrictHostKeyChecking no" [email protected] ls /
docker -H ssh://[email protected] ps