Send ping request fixup

This commit is contained in:
Norbert
2023-06-30 11:13:31 +02:00
parent c53b735e7a
commit b697683828
+4 -1
View File
@@ -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));"