add Github workflow for forge deploy

This commit is contained in:
HolgerHatGarKeineNode
2023-02-05 20:02:27 +01:00
parent 3cbc2a1aee
commit a24618e074
3 changed files with 92 additions and 73 deletions

19
.github/workflows/deploy_on_forge.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: 'Deploy on push'
on:
push:
branches:
- master
jobs:
forge-deploy:
name: 'Laravel Forge Deploy'
runs-on: ubuntu-latest
environment: production
steps:
# Trigger Laravel Forge Deploy
- name: Deploy
uses: jbrooksuk/laravel-forge-action@v1.0.2
with:
trigger_url: ${{ secrets.TRIGGER_URL }}