Skip to content

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/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

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 69.8%
  • Dockerfile 30.2%