{"id":23067324,"url":"https://github.com/dinushchathurya/laravel-deploy-using-github-actions","last_synced_at":"2026-04-09T23:01:45.885Z","repository":{"id":99309513,"uuid":"390415103","full_name":"dinushchathurya/laravel-deploy-using-github-actions","owner":"dinushchathurya","description":" Laravel zero downtime deployment GitHub action","archived":false,"fork":false,"pushed_at":"2021-07-31T11:09:16.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T16:36:00.656Z","etag":null,"topics":["codingtricks","codingtricksio","devops","github","github-action","laravel","laravel-deployment","laravel-devops","laravel-github-action","laravel-zero-downtime-deployment","zero-downtime"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinushchathurya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-28T16:10:54.000Z","updated_at":"2021-07-31T12:34:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3550975-054d-48b6-b57f-02323f5a66e0","html_url":"https://github.com/dinushchathurya/laravel-deploy-using-github-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dinushchathurya/laravel-deploy-using-github-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Flaravel-deploy-using-github-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Flaravel-deploy-using-github-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Flaravel-deploy-using-github-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Flaravel-deploy-using-github-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinushchathurya","download_url":"https://codeload.github.com/dinushchathurya/laravel-deploy-using-github-actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Flaravel-deploy-using-github-actions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269645148,"owners_count":24452683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codingtricks","codingtricksio","devops","github","github-action","laravel","laravel-deployment","laravel-devops","laravel-github-action","laravel-zero-downtime-deployment","zero-downtime"],"created_at":"2024-12-16T05:16:39.096Z","updated_at":"2025-12-30T21:07:12.675Z","avatar_url":"https://github.com/dinushchathurya.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Zero Downtime Deployment\n\n### In this it shows how to deploy your laravel application to production without zero downtime using Github action.\n\n# To test on local environment\n\n## Setup\n \n```\n$ git clone https://github.com/dinushchathurya/laravel-deploy-using-github-actions\n$ cd laravel-deploy-using-github-actions\n$ composer install\n```\n  - Duplicate and save .env.example as .env and fill in environment variables\n\n### Run The Service\n```\n$ php artisan serve\n```\n# To deploy to production \n\n- Setup LEMP or LAMP stack on your server\u003e If you wanna know how to configure it [refer this.](https://www.youtube.com/channel/UCCZT71rHQ175Du-1tEviVBA)\n- Change \u003ccode\u003edeployment-config.json\u003c/code\u003e according to your server details.\n- Then goto \u003ccode\u003eSettings-\u003eSecrets-\u003eNew repository secret\u003c/code\u003e and create secret Name as \u003ccode\u003eLaravel_ENV\u003c/code\u003e and paste your \u003ccode\u003e.env\u003c/code\u003e in value section.\n- In here I have use server password but if you need to use SSH key you can use \u003ccode\u003eSSH_KEY\u003c/code\u003e variable as above step\n- Then push changes to Github and goto \u003ccode\u003eAction\u003c/code\u003e section check deployment progress\n\n## Author\n[Dinush Chathurya](https://dinushchathurya.github.io/)\n\n## License\n\nCopyright (c) 2021 \u003ca href=\"https://dinushchathurya.github.io/\"\u003eDinush Chathurya\u003c/a\u003e and \u003ca href=\"https://codingtricks.io/\"\u003ecodingtricks.io\u003c/a\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Blog\n\nhttps://codingtricks.io/\n\n## \n\n\u003cp \u003e\u003ch2 align=\"center\"\u003eHappy\u003ci class=\"fa fa-heart\" style=\"color:red;\"\u003e\u003c/i\u003e Coding\u003ci class=\"fa fa-code\" style=\"color:orange;\"\u003e \u003c/i\u003e\u003c/h2\u003e\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinushchathurya%2Flaravel-deploy-using-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinushchathurya%2Flaravel-deploy-using-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinushchathurya%2Flaravel-deploy-using-github-actions/lists"}