Skip to content

typo

typo #1

Workflow file for this run

name: "cf-test"
on:
push:
branches:
- ops/e2e-actions
env:
BASIC_AUTH_ROUTE: "https://scp-cf-spring-e2e-test.internal.cfapps.sap.hana.ondemand.com"
jobs:
curl-cf:
runs-on: ubuntu-latest
steps:
- name: "Test CF Connection"
run: |
set +e
echo "Testing connection..."
response=$(curl --fail -s -v -w "HTTP_STATUS_CODE:%{http_code}" ${BASIC_AUTH_ROUTE})
exit_code=$?
if [ $exit_code -ne 0 ]; then
echo "HTTP request failed with exit code: $exit_code"
echo "Failure response body:"
echo "$response"
fi
exit $exit_code