Skip to main content
Home

Built and signed on GitHub Actions

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

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
a year 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fluentci/railway

Import symbol

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

Import directly with a jsr specifier

import * as railway from "jsr:@fluentci/railway";

Add Package

pnpm i jsr:@fluentci/railway
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fluentci/railway

Import symbol

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

Add Package

yarn add jsr:@fluentci/railway
or (using Yarn 4.8 or older)
yarn dlx jsr add @fluentci/railway

Import symbol

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

Add Package

npx jsr add @fluentci/railway

Import symbol

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

Add Package

bunx jsr add @fluentci/railway

Import symbol

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