v0.8.1
A ready-to-use CI/CD Pipeline for deploying your applications to Netlify.
Attributes
Includes Deno configuration
Repository
Current version released
6 months ago
Dependencies
other
jsr:@std/flags@0.218.2jsr:@std/fmt@0.218.2/colorsjsr:@std/path@0.218.2jsr:@std/testing@0.218.2/assertsjsr:@tsirysndr/env-js@0.1.2jsr:@tsirysndr/fluent-az-pipelines@0.3jsr:@tsirysndr/fluent-circleci@0.3jsr:@tsirysndr/fluent-codepipeline@0.3jsr:@tsirysndr/fluent-gh-actions@0.3jsr:@tsirysndr/fluent-gitlab-ci@0.5npm:graphql-request@6.1.0npm:graphql@16.8.1npm:lodash@4.17.21npm:node-color-log@11.0.2npm:stringify-tree@1.1.1
Netlify Pipeline
A ready-to-use CI/CD Pipeline for deploying your applications to Netlify.
🚀 Usage
Run the following command:
fluentci run netlify_pipeline
Dagger Module
Use as a Dagger module:
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. |
build(
src?: Directory | string = "."
): Promise<Directory | string>
deploy(
src: Directory | string,
token: Secret | string,
siteId: string,
siteDir: string
): Promise<string>
Programmatic usage
You can also use this pipeline programmatically:
import { build, deploy } from "https://pkg.fluentci.io/netlify_pipeline@v0.7.2/mod.ts";
await build();
await deploy();