Skip to content

Wraps the curl CLI to be used in Github Actions

License

Notifications You must be signed in to change notification settings

r26D/wait-for-status-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action - wait for status

This hits a specific url on an interval until a specific status is the result

Usage

statusCode defaults to 200 checkIntervalSeconds defaults to 10 maxNumberOfChecks defaults to 60

GitHub Actions

on: push
jobs:
  process:
    runs-on: ubuntu-latest
    steps:
    - name: wait until https://www.cnn.com is up
      uses: r26d/[email protected]
      with:
	url: https://www.cnn.com
	statusCode: 200 
        checkIntervalSeconds: 10
	maxNumberOfChecks: 60

Based on Work by Wei Wei He [email protected]

License

MIT - r26D,LLC

About

Wraps the curl CLI to be used in Github Actions

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 69.8%
  • Dockerfile 30.2%