Skip to content

Deploy Laravel Application to Server via SSH by RSync

License

Notifications You must be signed in to change notification settings

kosratdev/larave-deploy-migrate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}

About

Deploy Laravel Application to Server via SSH by RSync

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 84.2%
  • Dockerfile 15.8%