Skip to main content
Deno 2 is finally here 🎉️
Learn more

Heroku Pipeline

fluentci pipeline deno module deno compatibility

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

🚀 Usage

Run the following command:

dagger run fluentci heroku_pipeline

Dagger Module

Use as a Dagger Module:

dagger mod install github.com/fluent-ci-templates/heroku-pipeline@mod

Environment Variables

Variable Description
HEROKU_API_KEY Your Heroku API Key
HEROKU_APP_NAME Your Heroku App

Jobs

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

Programmatic usage

You can also use this pipeline programmatically:

import { deploy } from "https://pkg.fluentci.io/heroku_pipeline@v0.7.0/mod.ts";

await deploy(
  ".", 
  Deno.env.get("HEROKU_API_KEY")!, 
  Deno.env.get("HEROKU_APP_NAME")!
);