From 870f258371a6ebb7a364874e40ebeb403c557e89 Mon Sep 17 00:00:00 2001 From: Rody Davis Date: Sat, 13 Jun 2026 00:57:40 -0700 Subject: [PATCH] feat: add coolify-deploy action --- README.md | 1 + coolify-deploy/action.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 coolify-deploy/action.yml diff --git a/README.md b/README.md index 0b9ecca..494f807 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ This repository contains reusable composite actions for CI/CD workflows across o | Action | Description | Reference | | :--- | :--- | :--- | +| [Deploy to Coolify](./coolify-deploy) | Triggers a Coolify deployment using a webhook and authorization token. | `rodydavis/shared-actions/coolify-deploy@main` | | [Enforce Flutter Version Constraint](./enforce-flutter-version) | Scans all pubspec.yaml files to ensure they use the required Flutter SDK constraint. | `rodydavis/shared-actions/enforce-flutter-version@main` | | [Run Buildifier](./run-buildifier) | Downloads and runs buildifier on Starlark files. | `rodydavis/shared-actions/run-buildifier@main` | | [Setup Bazel (Bazelisk)](./setup-bazel) | Installs Node, Bazelisk, and configures Git for private SSH dependencies. | `rodydavis/shared-actions/setup-bazel@main` | diff --git a/coolify-deploy/action.yml b/coolify-deploy/action.yml new file mode 100644 index 0000000..2cdcba9 --- /dev/null +++ b/coolify-deploy/action.yml @@ -0,0 +1,17 @@ +name: 'Deploy to Coolify' +description: 'Triggers a Coolify deployment using a webhook and authorization token.' +inputs: + webhook: + description: 'The Coolify deploy webhook URL' + required: true + token: + description: 'The authorization token for the Coolify API' + required: true + +runs: + using: 'composite' + steps: + - name: Trigger Coolify Deployment + shell: bash + run: | + curl --request GET '${{ inputs.webhook }}' --header 'Authorization: Bearer ${{ inputs.token }}'