Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
🧩 A ready-to-use CI/CD Pipeline for deploying your applications to Railway
Railway Pipeline
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
Add Package
deno add jsr:@fluentci/railway
Import symbol
import * as railway from "@fluentci/railway";
Import directly with a jsr specifier
import * as railway from "jsr:@fluentci/railway";
Add Package
pnpm i jsr:@fluentci/railway
pnpm dlx jsr add @fluentci/railway
Import symbol
import * as railway from "@fluentci/railway";
Add Package
yarn add jsr:@fluentci/railway
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";