Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RepoSource

import type { RepoSource } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";

Location of the source in a Google Cloud Source Repository.

interface RepoSource {
branchName?: string;
commitSha?: string;
dir?: string;
projectId?: string;
repoName?: string;
tagName?: string;
}

§Properties

§
branchName?: string
[src]

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

§
commitSha?: string
[src]

Explicit commit SHA to build.

§
dir?: string
[src]

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

§
projectId?: string
[src]

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

§
repoName?: string
[src]

Name of the Cloud Source Repository.

§
tagName?: string
[src]

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax