lucas-labs/ploy

Gitea Action for automated Windows release preparation and deployment

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Nov 11, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lucas-labs/ploy@de924ecaadbdcce9596113c382862f6147955f47 # v0.0.4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
app_nameLogical name of the applicationyes
deploy_rootRoot path where releases are storedyes
repo_pathPath to the repository (defaults to current working directory)no${{ github.workspace }}
modeDeployment modenodefault
install_cmdsScript to install dependencies (e.g., "npm install", "bun install"). Also supports multiline format.no
build_cmdsScript to build the application (e.g., "npm run build", "bun run build"). Also supports multiline format.no
dist_dirRelative path to the directory containing built files to be deployedno
pre_deploy_cmdsScript to run in the release directory before activation. Supports: single command string, JSON array ["cmd1", "cmd2"], or multiline script (one command per line).no
post_deploy_cmdsScript to run in the release directory after activation. Supports: single command string, JSON array ["cmd1", "cmd2"], or multiline script (one command per line).no
healthcheck_urlURL to perform a health check after deploymentno
expected_healthcheck_code_rangeAcceptable HTTP status code range for health check (e.g., "200-299")no200-299
healthcheck_timeoutTimeout in seconds for the health check HTTP requestno30
healthcheck_retriesNumber of retries for the health check HTTP requestno3
healthcheck_delayDelay in seconds before performing the health check after deploymentno5
healthcheck_intervalInterval in seconds between health check retriesno5
current_junction_nameName of the junction (symlink) pointing to the current releasenocurrent
namedescription
release_pathAbsolute path to the new release directory
release_idThe release identifier (timestamp-sha format)
previous_releasePath to the previous release (if any)
deployment_timeISO 8601 timestamp of when the deployment completed
healthcheck_statusFinal status of the health check (passed or failed)
healthcheck_codeHTTP status code returned by the health check
healthcheck_attemptsNumber of health check attempts made
current_junctionPath to the current junction