/codeigniter-deploy

Deploy Codeigniter Application to Server via SSH by RSync

Primary LanguageShell

Codeigniter Deploy

Deploy Codeigniter Application to Server via SSH by RSync

Config example:

name: Build and Deploy
on:
    push:
        branches:
            -   master

jobs:
    build:
        name: Build and Deploy
        runs-on: ubuntu-latest
        steps:
            -   name: Checkout Repository
                uses: actions/checkout@master

            -   name: Setup Enviroment
                uses: shivammathur/setup-php@v2
                with:
                    php-version: '7.1'

            -   name: Deploy to Server
                uses: lmribeiro/codeigniter-deploy@master
                with:
                    user: user
                    host: host
                    path: path
                    owner: owner
                env:
                    DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}