Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T19:11:08.000Z (6 months ago)
- Last Synced: 2024-07-24T01:02:28.368Z (5 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
[![fluentci pipeline](https://shield.fluentci.io/x/heroku_pipeline)](https://pkg.fluentci.io/heroku_pipeline)
[![deno module](https://shield.deno.dev/x/heroku_pipeline)](https://deno.land/x/heroku_pipeline)
![deno compatibility](https://shield.deno.dev/deno/^1.41)
[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)
[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/heroku-pipeline)](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")!
);
```