diff --git a/auto_update_github_action.yml b/auto_update_github_action.yml index 41dadfe..5958d00 100644 --- a/auto_update_github_action.yml +++ b/auto_update_github_action.yml @@ -59,5 +59,8 @@ jobs: - name: Send ping request if: env.PING_URL != '' + working-directory: cloudflare-gateway-pihole-scripts + env: + PING_URL: ${{ secrets.PING_URL }} 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));"