Skip to content

Ping URL (JavaScript action)

Actions
Ping any URL you want by using Node.js https module. You can use it with any events or even as a cron job
v1.5
Latest
Star (8)

Ping URL JavaScript Action

A lightweight GitHub Action to ping a specified URL using Node.js’s built-in https module.
This is especially useful for setting up simple cron jobs to keep services awake, monitor uptime, or trigger remote tasks.

🚀 Use Case

By combining this action with GitHub Actions' built-in scheduled workflows, you can easily create a cron job to ping any URL on a regular basis—without needing your own server or infrastructure.

📥 Inputs

url

Required — The URL you want to ping.

📘 Example Usage

on:
  schedule:
    - cron: "*/15 * * * *" # Runs every 15 minutes

jobs:
  ping_url:
    runs-on: ubuntu-latest
    name: Ping URL
    steps:
      - name: Ping the URL
        uses: soul-wish/ping-url-javascript-action@v1.5
        with:
          url: "https://google.com"

Ping URL (JavaScript action) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Ping any URL you want by using Node.js https module. You can use it with any events or even as a cron job
v1.5
Latest

Ping URL (JavaScript action) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.