Automate Your PHP Project Deployment with cPanel and CICD

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 2024
  • Tired of manually deploying your PHP projects to cPanel? This video will show you how to set up a continuous integration and continuous deployment (CICD) pipeline to automate the process. You'll learn how to:
    Connect your Git repository to cPanel
    Configure a CI/CD pipeline
    Automate code testing, builds, and deployments
    Save time and effort
    Reduce deployment errors
    This video is perfect for developers who want to streamline their workflow and improve their deployment process.
    yml Code
    name: Publish Website to Web Hosting
    on:
    push:
    branches:
    main
    jobs:
    deploy:
    name: Deploy website every commit
    runs-on: ubuntu-latest
    steps:
    name: Get latest code
    uses: actions/checkout@v2
    name: FTP-Deploy-Action
    uses: SamKirkland/FTP-Deploy-Action@4.3.2
    with:
    server: *****************
    username: *************
    password:*************
    protocol: ftps
    port: 21
    local-dir: './'

ความคิดเห็น • 3

  • @nivatech-f7j
    @nivatech-f7j 2 หลายเดือนก่อน

    very helpful I like the speed of your execution !

  • @ImanLango
    @ImanLango ปีที่แล้ว

    Tnx it's very helpfull