Skip to content

Commit 43f9741

Browse files
committed
add skip_checkout option to avoid blowing away local changes
1 parent 3a2361d commit 43f9741

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ Store your Reflex secrets securely in your repository:
5252
|extra_args | Additional arguments to pass to the `reflex deploy` command. | ❌ | N/A |
5353
|python_version| The Python version to use for the deployment environment. | ❌ | 3.12 |
5454
|dry_run | Whether to run the deployment in dry-run mode. | ❌ | false |
55+
|skip_checkout | Whether to skip checking out the code, useful for deploying local changes made by an earlier pipeline step. | ❌ | false |
5556

action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ inputs:
2222
description: Whether to run the deployment in dry-run mode.
2323
required: false
2424
default: "false"
25+
skip_checkout:
26+
description: Whether to skip checking out the code.
27+
required: false
28+
default: "false"
2529
branding:
2630
icon: upload-cloud
2731
color: purple
@@ -30,6 +34,7 @@ runs:
3034
using: "composite"
3135
steps:
3236
- name: Check out code
37+
if: ${{ inputs.skip_checkout != 'true' }}
3338
uses: actions/checkout@v4
3439
- name: Install Python
3540
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)