{"id":15640155,"url":"https://github.com/jbrooksuk/laravel-forge-action","last_synced_at":"2025-04-14T19:06:13.605Z","repository":{"id":39876082,"uuid":"333342040","full_name":"jbrooksuk/laravel-forge-action","owner":"jbrooksuk","description":"Deploy your application to Laravel Forge with GitHub Actions.","archived":false,"fork":false,"pushed_at":"2023-03-29T22:57:38.000Z","size":26,"stargazers_count":83,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T19:06:01.202Z","etag":null,"topics":["deployment","github-actions","laravel","laravel-forge"],"latest_commit_sha":null,"homepage":"https://james.brooks.page","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbrooksuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"jbrooksuk"}},"created_at":"2021-01-27T07:43:02.000Z","updated_at":"2025-03-01T05:47:01.000Z","dependencies_parsed_at":"2024-06-19T01:37:37.707Z","dependency_job_id":"a40c6865-a501-4e80-8b92-36a0dc0d4b55","html_url":"https://github.com/jbrooksuk/laravel-forge-action","commit_stats":{"total_commits":27,"total_committers":4,"mean_commits":6.75,"dds":"0.40740740740740744","last_synced_commit":"1dd240dba715307eeb9c327e2a89d6ab1882eb22"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbrooksuk%2Flaravel-forge-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbrooksuk%2Flaravel-forge-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbrooksuk%2Flaravel-forge-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbrooksuk%2Flaravel-forge-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbrooksuk","download_url":"https://codeload.github.com/jbrooksuk/laravel-forge-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943456,"owners_count":21186958,"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","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":["deployment","github-actions","laravel","laravel-forge"],"created_at":"2024-10-03T11:31:42.626Z","updated_at":"2025-04-14T19:06:13.562Z","avatar_url":"https://github.com/jbrooksuk.png","language":"Shell","funding_links":["https://github.com/sponsors/jbrooksuk"],"categories":[],"sub_categories":[],"readme":"# Laravel Forge GitHub Action\n\nDeploy your application to [Laravel Forge](https://forge.laravel.com) with GitHub Actions.\n\n## Credit\n\nHeavily based on [Glennmen/ploi-deploy-action](https://github.com/Glennmen/ploi-deploy-action) :heart:\n\n## Inputs\n\nIt is highly recommended that you store all inputs using [GitHub Secrets](https://docs.github.com/en/actions/reference/encrypted-secrets).\n\n| Input         | Description                                                                                                                                                                                                             |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `trigger_url` | When using the trigger url to deploy your application, this field is required. You can find this within your site's detail panel in Forge.                                                                              |\n| `api_key`     | If you want to use the API to deploy your application, you must provide `api_key`, `server_id` and `site_id`.\u003cbr\u003e\u003cbr\u003eYou can generate an API key in your [Forge dashboard](https://forge.laravel.com/user-profile/api). |\n| `server_id`   | You can find the ID of the server in the server's detail panel.                                                                                                                                                         |\n| `site_id`     | You can find the ID of the site in the site's detail panel.                                                                                                                                                             |\n\n## Examples\n\n### Deploy via Deployment Trigger URL\n\n```yml\nname: 'Deploy on push'\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  forge-deploy:\n    name: 'Laravel Forge Deploy'\n    runs-on: ubuntu-latest\n\n    steps:\n      # Trigger Laravel Forge Deploy\n      - name: Deploy\n        uses: jbrooksuk/laravel-forge-action@v1.0.2\n        with:\n          trigger_url: ${{ secrets.TRIGGER_URL }}\n```\n\n### Deploy via API\n\n```yml\nname: 'Deploy on push'\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  forge-deploy:\n    name: 'Laravel Forge Deploy'\n    runs-on: ubuntu-latest\n\n    steps:\n      # Trigger Laravel Forge Deploy\n      - name: Deploy\n        uses: jbrooksuk/laravel-forge-action@v1.0.2\n        with:\n          api_key: ${{ secrets.API_KEY }}\n          server_id: ${{ secrets.SERVER_ID }}\n          site_id: ${{ secrets.SITE_ID }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrooksuk%2Flaravel-forge-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbrooksuk%2Flaravel-forge-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrooksuk%2Flaravel-forge-action/lists"}