Skip to content

soul-wish/ping-url-javascript-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]
        with:
          url: "https://google.com"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published