forked from abinmn/gcp-storage-bucket-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 1.08 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
name: 'GCP Cloud Storage: Deploy'
description: 'This action helps in deploying static websites on the Google Cloud Storage Bucket.'
author: 'Abin Mn'
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
service_key:
description: 'GCP service key encoded as base64. The account associated with the key should have permissions to make changes in storage bucket.'
required: true
build_folder:
description: 'The folder you want to deploy. Default is the repository. You can change this value if you have a build step and point this to that build folder.'
required: true
bucket_name:
description: 'Bucket name'
required: true
html_ttl:
description: "How long will the HTML files be allowed to be cached for?"
required: true
project:
description: 'Name of the project that contains the storage bucket.'
required: true
home_page_path:
description: 'Path of your homepage in cloud storage bucket.'
required: true
error_page_path:
description: 'Path of the 404 page to be shown'
required: true
runs:
using: 'docker'
image: 'Dockerfile'