-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (26 loc) · 848 Bytes
/
action.yml
File metadata and controls
27 lines (26 loc) · 848 Bytes
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
name: Reflex Deploy Action
description: Deploy Reflex apps to Reflex Cloud.
inputs:
auth_token:
description: Reflex authentication token (stored as a secret).
required: true
project_id:
description: The ID of the Reflex project to deploy to (stored as a secret).
required: true
app_directory:
description: The subfolder containing the Reflex app (default is root).
required: false
default: "."
extra_args:
description: Additional arguments to pass to the Reflex CLI.
required: false
branding:
icon: upload-cloud
color: purple
runs:
using: "composite"
steps:
- name: Deploy Reflex App
shell: bash
working-directory: ${{ inputs.app_directory }}
run: reflex deploy --token ${{ inputs.auth_token }} --project ${{ inputs.project_id }} --no-interactive ${{ inputs.extra_args }}