-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
90 lines (71 loc) · 2.57 KB
/
Copy pathaction.yml
File metadata and controls
90 lines (71 loc) · 2.57 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: 'Deploy Agent to Runloop'
description: 'Deploy an agent to the Runloop platform with support for multiple source types (Git, files, and directories)'
author: 'Runloop'
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
# Required inputs
api-key:
description: 'Runloop API key for authentication (set as secret)'
required: true
source-type:
description: 'Agent source type: git, tar, file, npm, or pip'
required: true
# Optional inputs
agent-name:
description: 'Name for the agent (defaults to repository name if not provided)'
required: false
agent-version:
description: 'For npm/pip agents, pins the installed package version (e.g., "2.1.123"). Not used for git or object agents.'
required: false
# Git source inputs
git-repository:
description: 'Git repository URL (optional override, defaults to current repository)'
required: false
git-ref:
description: 'Git ref (branch or tag). Defaults to current ref or release tag'
required: false
# NPM source inputs
npm-package:
description: 'NPM package name (required when source-type=npm, e.g., "@anthropic-ai/claude-code")'
required: false
npm-registry-url:
description: 'NPM registry URL (optional, defaults to public npm registry)'
required: false
# Pip source inputs
pip-package:
description: 'PyPI package name (required when source-type=pip, e.g., "deepagents-cli")'
required: false
pip-index-url:
description: 'PyPI index URL (optional, defaults to public PyPI)'
required: false
# File/tar source inputs
path:
description: 'Path to file or tar archive (required if source-type=tar/file)'
required: false
content-type:
description: 'Object content type override (unspecified, text, binary, gzip, tar, tgz). If omitted, auto-detected from file extension and magic bytes.'
required: false
# Common inputs
setup-commands:
description: 'Newline-separated setup commands to run after agent installation'
required: false
api-url:
description: 'Runloop API URL (defaults to production)'
required: false
default: 'https://api.runloop.ai'
object-ttl-days:
description: 'Time-to-live for uploaded objects in days (optional)'
required: false
# default is 'undefined' => don't auto-delete
outputs:
agent-id:
description: 'The ID of the created agent (e.g., agt_xxxx)'
object-id:
description: 'The ID of the uploaded object (if applicable, e.g., obj_xxxx)'
agent-name:
description: 'The final name of the created agent'
runs:
using: 'node24'
main: 'dist/index.js'