mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
Send ping request fixup
This commit is contained in:
@@ -59,5 +59,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Send ping request
|
- name: Send ping request
|
||||||
if: env.PING_URL != ''
|
if: env.PING_URL != ''
|
||||||
|
working-directory: cloudflare-gateway-pihole-scripts
|
||||||
|
env:
|
||||||
|
PING_URL: ${{ secrets.PING_URL }}
|
||||||
run: |
|
run: |
|
||||||
node -e "var https=require('https');https.get('${{ secrets.PING_URL }}').on('error',err=>console.log('Ping failed: '+err));"
|
node -e "var https=require('https');https.get('${{ env.PING_URL }}').on('error',err=>console.log('Ping failed: '+err));"
|
||||||
|
|||||||
Reference in New Issue
Block a user