Skip to content

Merge pull request #2 from AeroBytesNL/add-CD #8

Merge pull request #2 from AeroBytesNL/add-CD

Merge pull request #2 from AeroBytesNL/add-CD #8

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] '/home/aerobytes/domains/aerobytes.nl/public_html/deploy.sh'