Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/wait_for_status@v0.1.0
      with:
	url: https://www.cnn.com
	statusCode: 200 
        checkIntervalSeconds: 10
	maxNumberOfChecks: 60

Based on Work by Wei Wei He github@weispot.com

License

MIT - r26D,LLC

About

Wraps the curl CLI to be used in Github Actions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages