»Netlify

»files (builder)

Generates a value representing a path on disk.

»Interface

»Variables

»Examples


build {
  use "files" {}
}

»files (registry)

Copies files to a specific directory.

»Interface

»Variables

»path

The filesystem path to store the files into.

  • Type: string

»Examples


build {
  use "files" {}
  registry {
    use "files" {
      path = "/path/to/file"
    }
  }
}

»netlify (platform)

Deploy a site to netlify.

»Interface

»Variables

»access_token

Name of your netlify site, if not specified, will prompt for oauth exchange.

  • Type: string
  • Optional

»site_id

Id for your netlify site.

  • Type: string
  • Optional

»site_name

Name of your netlify site.

  • Type: string
  • Optional
  • Default: waypoint application name

»Examples


deploy {
    use "netlify" {
        site_id = "yourside-id"
        site_name = "waypoint"
        access_token = "asb123"
    }
}