Skip to content

Commit d4f780a

Browse files
committed
feat: update api url
1 parent 9a4728e commit d4f780a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/keep-alive.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Ping API to keep Neo4j active
1515
run: |
16-
response=$(curl -s -o /dev/null -w "%{http_code}" https://philippine-datasets-api.nowcraft.ing/ping || echo "000")
16+
response=$(curl -s -o /dev/null -w "%{http_code}" ${{ secrets.API_URL }}/ping || echo "000")
1717
1818
if [ "$response" = "200" ]; then
1919
echo "✅ Successfully pinged API (HTTP $response)"
@@ -29,4 +29,4 @@ jobs:
2929
if: always()
3030
run: |
3131
echo "Ping executed at: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
32-
echo "Target: https://philippine-datasets-api.nowcraft.ing/api/ping"
32+
echo "Target: ${{ secrets.API_URL }}/api/ping"

0 commit comments

Comments
 (0)