Skip to main content

🧩 A ready-to-use CI/CD Pipeline for deploying your applications to Railway

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
76%
Published
3 months ago (0.8.0)

Railway Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for deploying your applications to Railway.

🚀 Usage

Run the following command:

fluentci run railway_pipeline

🧩 Dagger Module

Use as a Dagger Module:

dagger install github.com/fluent-ci-templates/railway-pipeline@main

Call the deploy function from this module:

dagger -m github.com/fluent-ci-templates/railway-pipeline@main call \
  deploy \
  --src . \
  --token env:RAILWAY_TOKEN

🛠️ Environment Variables

Variable Description
RAILWAY_TOKEN Your Railway Access Token

✨ Jobs

Job Description
deploy Deploys your application to Railway.
deploy(
  src: Directory | string,
  token: Secret | string
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { deploy } from "jsr:@fluentci/railway";

await deploy(".", Deno.env.get("RAILWAY_TOKEN")!);
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @fluentci/railway

Import symbol

import * as mod from "@fluentci/railway";

Add Package

npx jsr add @fluentci/railway

Import symbol

import * as mod from "@fluentci/railway";

Add Package

yarn dlx jsr add @fluentci/railway

Import symbol

import * as mod from "@fluentci/railway";

Add Package

pnpm dlx jsr add @fluentci/railway

Import symbol

import * as mod from "@fluentci/railway";

Add Package

bunx jsr add @fluentci/railway

Import symbol

import * as mod from "@fluentci/railway";