TECHNOLOGY
For automatic deployment from github to cPanel need to follow these steps:
name: Deploy Private GitHub repository to cPanel
on:
push:
branches:
- branch_name
jobs:
FTP-Deploy-Action:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: TP-Deploy-Action
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: main.yml
uses: SamKirkland/FTP-Deploy-Action@4.3.3
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
That is the process for connect cPanel with github repository.
Read what excites, achieves and moves us Read what excites, achieves and moves us