Skip to content

Simple Ping

Actions
Simple ping action
1.0.2
Latest
Star (0)

Ping

Simple ping action / script using curl.

Bash

chmod +x ./ping.sh
./ping.sh www.google.com 10 "echo 'ping failed'"

Docker

docker build -t ping .
docker run ping www.google.com 10 "echo 'ping failed'"

GitHub Action

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Ping
        uses: matiasg19/ping@main
        with:
          url: wwww.google.com
          attempts: 10
          on-fail: "echo 'ping failed'"

Simple Ping 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

Simple ping action
1.0.2
Latest

Simple Ping 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.