Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Feb 24, 2025
0 parents commit ca55731
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Laravel Cloud Deploy

This GitHub Action will trigger a deployment on Laravel Cloud.

## Usage

```yaml
name: Deploy

on:
push:

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: nhedger/laravel-cloud-deploy@v1
with:
webhook: ${{ secrets.LARAVEL_CLOUD_WEBHOOK }}
13 changes: 13 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Laravel Cloud Deploy
author: nhedger
description: Trigger a Laravel Cloud deployment
inputs:
webhook:
description: The webhook URL to trigger the deployment
required: true
runs:
using: composite
steps:
- run: |
curl --silent -X POST -H "Accept: application/json" -H "Content-Type: application/json" "${{ inputs.webhook }}" > /dev/null
shell: bash

0 comments on commit ca55731

Please sign in to comment.