https://github.com/fluent-ci-templates/heroku-pipeline
A ready-to-use CI/CD Pipeline for deploying your applications to Heroku.
https://github.com/fluent-ci-templates/heroku-pipeline
cicd dagger deno heroku-deployment pipeline typescript wasm webassembly
Last synced: 3 months ago
JSON representation
A ready-to-use CI/CD Pipeline for deploying your applications to Heroku.
- Host: GitHub
- URL: https://github.com/fluent-ci-templates/heroku-pipeline
- Owner: fluent-ci-templates
- License: mit
- Created: 2023-07-29T18:03:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T19:11:08.000Z (about 1 year ago)
- Last Synced: 2025-04-12T23:49:49.843Z (3 months ago)
- Topics: cicd, dagger, deno, heroku-deployment, pipeline, typescript, wasm, webassembly
- Language: TypeScript
- Homepage:
- Size: 141 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Heroku Pipeline
[](https://pkg.fluentci.io/heroku_pipeline)
[](https://deno.land/x/heroku_pipeline)

[](https://dagger.io)
[](https://codecov.io/gh/fluent-ci-templates/heroku-pipeline)A ready-to-use CI/CD Pipeline for deploying your applications to [Heroku](https://www.heroku.com).
## 🚀 Usage
Run the following command:
```bash
dagger run fluentci heroku_pipeline
```## Dagger Module
Use as a [Dagger](https://dagger.io) Module:
```bash
dagger mod install github.com/fluent-ci-templates/heroku-pipeline@main
```## 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. |```typescript
deploy(
src: Directory | string,
apiKey: Secret | string,
appName: string
): Promise
```## Programmatic usage
You can also use this pipeline programmatically:
```typescript
import { deploy } from "https://pkg.fluentci.io/[email protected]/mod.ts";await deploy(
".",
Deno.env.get("HEROKU_API_KEY")!,
Deno.env.get("HEROKU_APP_NAME")!
);
```