Skip to content

Laravel Deploy and Migrate DB

Actions
Deploy Laravel Application to Server via SSH by RSync and then run php artisan migrate
v2.0.2
Latest
Star (7)

Tags

 (1)

Laravel Deploy and Migrate DB

ForTheBadge built-with-love

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.4'
            -   name: Speed up the packages installation process
                run: composer global require hirak/prestissimo
            -   name: Install Packages
                run: composer install --no-dev
            -   name: Deploy to Server
                uses: kosratdev/laravel-deploy-migrate@laravel
                with:
                    user: user
                    host: host
                    port: port
                    path: path
                    owner: owner
                env:
                    DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

Laravel Deploy and Migrate DB is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy Laravel Application to Server via SSH by RSync and then run php artisan migrate
v2.0.2
Latest

Tags

 (1)

Laravel Deploy and Migrate DB is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.