Skip to content

automating github actions #1

automating github actions

automating github actions #1

Workflow file for this run

name: Deploy to cPanel
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to cPanel
run: |
ssh swimscom@swimscompany.com 'cd public_html && git pull origin main'