generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
35 lines (32 loc) · 836 Bytes
/
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: 'Upload file to Supabase Storage'
description: 'Upload file to Supabase Storage with GitHub Actions'
author: 'StatusBase by Zernonia'
branding:
icon: 'image'
color: 'blue'
inputs:
file_path:
required: true
description: 'Path name of the file to be uploaded (eg: /screenshots.png)'
bucket:
required: true
description: 'Name of the bucket to upload to'
default: ''
content_type:
required: true
description: 'Content-Type header value'
default: 'image/jpeg'
cache_control:
required: true
description: 'Cache-control: max-age=<seconds>'
default: '3600'
upsert:
required: true
description: 'Replace the file with the same name or not'
default: 'false'
outputs:
result:
description: 'Media Key for the image'
runs:
using: 'node16'
main: 'dist/index.js'