Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluent-ci-templates/netlify-pipeline
A ready-to-use CI/CD Pipeline for deploying your applications to Netlify.
https://github.com/fluent-ci-templates/netlify-pipeline
cicd dagger deno netlify netlify-deployment pipeline typescript
Last synced: about 5 hours ago
JSON representation
A ready-to-use CI/CD Pipeline for deploying your applications to Netlify.
- Host: GitHub
- URL: https://github.com/fluent-ci-templates/netlify-pipeline
- Owner: fluent-ci-templates
- License: mit
- Created: 2023-08-06T07:27:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T15:39:51.000Z (5 months ago)
- Last Synced: 2024-07-24T01:02:32.320Z (4 months ago)
- Topics: cicd, dagger, deno, netlify, netlify-deployment, pipeline, typescript
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- 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
# Netlify Pipeline
[![fluentci pipeline](https://shield.fluentci.io/x/netlify_pipeline)](https://pkg.fluentci.io/netlify_pipeline)
[![deno module](https://shield.deno.dev/x/netlify_pipeline)](https://deno.land/x/netlify_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/netlify-pipeline)](https://codecov.io/gh/fluent-ci-templates/netlify-pipeline)A ready-to-use CI/CD Pipeline for deploying your applications to [Netlify](https://www.netlify.com).
## 🚀 Usage
Run the following command:
```bash
fluentci run netlify_pipeline
```## Dagger Module
Use as a [Dagger](https://dagger.io) module:
```bash
dagger mod install github.com/fluent-ci-templates/netlify-pipeline@mod
```## Environment Variables
| Variable | Description |
|--------------------|-----------------------------------------|
| NETLIFY_AUTH_TOKEN | Your Netlify Access Token |
| NETLIFY_SITE_ID | Your Netlify Site ID |
| NETLIFY_SITE_DIR | Your directory to deploy (default: `.`) |## Jobs
| Job | Description |
|---------|--------------------------------------|
| build | Builds your application. |
| deploy | Deploys your application to Netlify. |```typescript
build(
src?: Directory | string = "."
): Promisedeploy(
src: Directory | string,
token: Secret | string,
siteId: string,
siteDir: string
): Promise
```## Programmatic usage
You can also use this pipeline programmatically:
```typescript
import { build, deploy } from "https://pkg.fluentci.io/[email protected]/mod.ts";await build();
await deploy();```