We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b17176 commit 91b1c31Copy full SHA for 91b1c31
ephemeral/startup/action.yml
@@ -111,3 +111,13 @@ runs:
111
shell: bash
112
run:
113
${{ inputs.preview-cmd }}
114
+
115
+ - name: Print logs of ephemeral instance
116
+ shell: bash
117
+ run: |
118
+ log_response=$(curl -X GET \
119
+ -H "ls-api-key: ${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}" \
120
+ -H "content-type: application/json" \
121
+ https://api.localstack.cloud/v1/compute/instances/$previewName/logs)
122
123
+ echo $log_response
0 commit comments