Deploy Dokploy applications from GitHub and Gitea Actions

A dependency-free node20 action that triggers application.deploy or
compose.deploy, then follows the deployment to a terminal status so a
failed build fails the CI run. Snapshots the deployment list before
triggering, so a concurrent deployment is never mistaken for this one.

Optionally points the application at a freshly built image first, which
is what lets a workflow lint, test, push and deploy the same artifact.
This commit is contained in:
2026-08-09 03:37:35 +03:00
commit c23b44983b
20 changed files with 2778 additions and 0 deletions

13
package.json Normal file
View File

@@ -0,0 +1,13 @@
{
"name": "dokploy-deploy-action",
"version": "1.0.0",
"private": true,
"description": "GitHub Actions / Gitea Actions step that triggers a Dokploy deployment and waits for it to finish.",
"license": "MPL-2.0",
"engines": {
"node": ">=20"
},
"scripts": {
"test": "node --test"
}
}