Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewbigging committed Feb 28, 2024
1 parent cd974c7 commit 64fe9a1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cf-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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

0 comments on commit 64fe9a1

Please sign in to comment.