A GitHub Action for Laravel Forge
Today I’m pleased to announce the availability of a new GitHub Action for Laravel Forge deployments.
I want to thank @Glennmen for the equivalent Ploi action, as it’s heavily based on it.
Here is an example GitHub Workflow for deploying your application:
name: 'Deploy on push'
on:
push:
branches:
- master
jobs:
forge-deploy:
name: 'Laravel Forge Deploy'
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v2
# Trigger Laravel Forge Deploy
- name: Deploy
uses: jbrooksuk/laravel-forge-[email protected]
with:
trigger_url: ${{ secrets.TRIGGER_URL }}
Please let me know if you’re using it!