-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yaml
More file actions
38 lines (37 loc) · 1.42 KB
/
action.yaml
File metadata and controls
38 lines (37 loc) · 1.42 KB
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
36
37
38
name: "Meticulous - Upload Assets"
description: "Upload assets to Meticulous for testing."
inputs:
api-token:
description: "Meticulous API token."
required: true
github-token:
description: "GITHUB_TOKEN or a repo scoped PAT."
required: true
default: ${{ github.token }}
app-directory:
description: |
The directory containing the built assets to upload to Meticulous for testing.
required: true
rewrites:
description: |
A JSON array of rewrites to apply to the assets. Each of these should be an object with a "source" and "destination" property.
For more details on the syntax see https://github.com/vercel/serve-handler?tab=readme-ov-file#rewrites-array.
required: false
default: "[]"
base-api-url:
description: Override the Meticulous base API URL. Only needed for self-hosted or staging environments.
required: false
commit-sha:
description: |
The commit SHA to associate the uploaded assets with. If not provided, the action will try to read it
from the checked-out git repository, falling back to the GITHUB_SHA environment variable. Provide this
explicitly when running without 'actions/checkout' (e.g. in a job that only downloads a pre-built artifact).
required: false
outputs: {}
runs:
using: node20
main: "../out/upload-assets.entrypoint.js"
post: "../out/upload-assets.post-step.entrypoint.js"
branding:
color: purple
icon: camera