We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8754795 commit cc75f83Copy full SHA for cc75f83
preview/action.yml
@@ -11,6 +11,10 @@ inputs:
11
description: 'Command(s) used to create a preview of the PR (can use $AWS_ENDPOINT_URL)'
12
required: false
13
default: ''
14
+ auto-load-pod:
15
+ description: 'The pod to load on startup of localstack, the env var AUTO_LOAD_POD'
16
+ required: false
17
+ default: ''
18
19
runs:
20
using: composite
@@ -34,7 +38,7 @@ runs:
34
38
# TODO: make preview name configurable!
35
39
previewName=preview-$prId
36
40
37
- response=$(curl -X POST -d '{}' \
41
+ response=$(curl -X POST -d '{"auto_load_pod": "${{ inputs.auto-load-pod }}"}' \
42
-H 'ls-api-key: ${{ inputs.localstack-api-key }}' \
43
-H 'authorization: token ${{ inputs.localstack-api-key }}' \
44
-H 'content-type: application/json' \
0 commit comments