diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-06 18:34:21 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-06 18:40:26 -0800 |
| commit | 942be55201e891d950ba1325d284c4812b3cd7db (patch) | |
| tree | 4c5996cefaf096f379c90c7ea250e8d5b8810ec5 /.ci/ci.cjs | |
| parent | 1b0dfa6289f695d23ed0aa807ab1c4d1c09d5c09 (diff) | |
| download | ci-942be55201e891d950ba1325d284c4812b3cd7db.tar.gz ci-942be55201e891d950ba1325d284c4812b3cd7db.zip | |
Add coolify job.
Diffstat (limited to '.ci/ci.cjs')
| -rwxr-xr-x | .ci/ci.cjs | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -4978,7 +4978,8 @@ var JobTypes = [ "build_docker_image.js", "ansible_playbook.js", "checkout_ci.js", - "npm_publish.js" + "npm_publish.js", + "coolify_webhook.js" ]; var isJobType = (j) => typeof j === "string" && JobTypes.includes(j); var isJob = (j) => !!((0, import_pengueno.isObject)(j) && "arguments" in j && (0, import_pengueno.isObject)(j.arguments) && "type" in j && isJobType(j.type) && j); @@ -5098,6 +5099,30 @@ var getPipeline = () => { if (!isRelease) { return gitHookPipeline.build(); } + const publishModel = { + type: "npm_publish.js", + arguments: { + source: "ci/model", + registry: "registry.npmjs.org" + } + }; + const deployWorker = { + type: "coolify_webhook.js", + arguments: { + webhookUrl: "https://plane.liz.coffee/api/v1/deploy?uuid=lg8400808cwo480wo4g44swg&force=false" + } + }; + const deployServer = { + type: "coolify_webhook.js", + arguments: { + webhookUrl: "https://plane.liz.coffee/api/v1/deploy?uuid=gwsc0g8co84cwowggo8w4k0c&force=false" + } + }; + gitHookPipeline.addStage({ parallelJobs: [ + publishModel, + deployServer, + deployWorker + ] }); return gitHookPipeline.build(); }; var main = () => { |
