Skip to content

Added CD

Added CD #5

Workflow file for this run

name: Continuous Deployment
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run deploy sh script
run:
ssh -o StrictHostKeyChecking=no [email protected]