You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -8,20 +8,77 @@ You may want to perform some screenshot, or generate txt file and store those da
8
8
9
9
## Inputs
10
10
11
+
### `file_path`
12
+
13
+
Path name of the file to be uploaded.
14
+
15
+
eg: "public/screenshots.png"
16
+
11
17
### `bucket`
12
18
13
-
### `file_path`
19
+
Name of the bucket to upload to
20
+
21
+
eg: "screenshot"
14
22
15
23
### `content_type`
16
24
25
+
[Supabase Storage](https://supabase.com/docs/reference/javascript/storage-from-upload#parameters)`from.upload` fileOptions parameter, the `Content-Type` header value.
26
+
27
+
eg: "image/png"
28
+
17
29
### `cache_control`
18
30
31
+
[Supabase Storage](https://supabase.com/docs/reference/javascript/storage-from-upload#parameters)`from.upload` fileOptions parameter, the `Content-Control` value.
32
+
33
+
eg: "3600"
34
+
19
35
### `upsert`
20
36
37
+
[Supabase Storage](https://supabase.com/docs/reference/javascript/storage-from-upload#parameters)`from.upload` fileOptions parameter, the `Upsert` value.
38
+
39
+
eg: "true"
40
+
21
41
## Env
22
42
23
43
### `SUPABASE_URL`
24
44
45
+
Go to [Dashboard Settings](https://app.supabase.com/project/<your-project-ref>/settings/api), copy and paste the **URL** into GitHub Repo's secret.
46
+
25
47
### `SUPABASE_ANON_KEY`
26
48
27
-
WIP
49
+
Go to [Dashboard Settings](https://app.supabase.com/project/<your-project-ref>/settings/api), copy and paste the **Anon Key** into GitHub Repo's secret.
0 commit comments