Skip to main content

Netlify

Run the following command to run the pre-built Netlify Pipeline in your project to deploy your application to Netlify:

fluentci run netlify_pipeline deploy

Environment variables

VariableDescription
NETLIFY_AUTH_TOKENYour Netlify Access Token
NETLIFY_SITE_IDYour Netlify Site ID
NETLIFY_SITE_DIRYour directory to deploy (default: .)

Jobs

JobDescription
deployDeploys your application to Netlify.

Programmatic usage

You can also use this pipeline programmatically:

import { build, deploy } from "https://pkg.fluentci.io/[email protected]/mod.ts";

await build();
await deploy();