generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 1.09 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "Deploy to Cloud Run"
description: "Deploy a container image to Google Cloud Run"
author: "Shakr Media Co., Ltd."
inputs:
github_token:
description: "GitHub token to make API request (use github.token)"
required: true
github_environment:
description: "Name of the GitHub environment"
required: true
service_name:
description: "Name of the already existing Cloud Run service"
required: true
project_id:
description: "Google Cloud Platform project id"
required: true
region:
description: "Google Cloud region where Cloud Run service is located"
required: true
default: "us-central1"
image:
description: "Full url of container image to be deployed"
required: true
revision_tag:
description: "Optional revision tag to create url"
revision_suffix:
description: "Optional revision suffix to use for a unique name"
outputs:
deployment_id:
description: "ID of GitHub Deployment created"
url:
description: "URL of the Cloud Run service or (revision, if revision_tag is provided)"
runs:
using: "node12"
main: "dist/index.js"