Skip to content

MatiasG19/ping

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

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'"

About

Simple ping action / script using curl.

Topics

Resources

License

Stars

Watchers

Forks

Packages