There was an error while loading. Please reload this page.
1 parent 9a4728e commit d4f780aCopy full SHA for d4f780a
1 file changed
.github/workflows/keep-alive.yml
@@ -13,7 +13,7 @@ jobs:
13
steps:
14
- name: Ping API to keep Neo4j active
15
run: |
16
- response=$(curl -s -o /dev/null -w "%{http_code}" https://philippine-datasets-api.nowcraft.ing/ping || echo "000")
+ response=$(curl -s -o /dev/null -w "%{http_code}" ${{ secrets.API_URL }}/ping || echo "000")
17
18
if [ "$response" = "200" ]; then
19
echo "✅ Successfully pinged API (HTTP $response)"
@@ -29,4 +29,4 @@ jobs:
29
if: always()
30
31
echo "Ping executed at: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
32
- echo "Target: https://philippine-datasets-api.nowcraft.ing/api/ping"
+ echo "Target: ${{ secrets.API_URL }}/api/ping"
0 commit comments