Health Check Bot 2 #18134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =================================================================== | |
# Health Check Bot 2 | |
# =================================================================== | |
name: Health Check Bot 2 | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | |
# github scheduler not supported seconds cron feature | |
on: | |
schedule: | |
# Just Run Every minute, but this action may be delayed https://crontab.guru | |
- cron: '*/1 * * * *' | |
push: | |
branches: 'main' | |
# Job Tasks | |
jobs: | |
health-check-bot-2: | |
runs-on: ubuntu-latest | |
steps: | |
# Echo | |
- name: echo job | |
run: echo "Health Check Bot 2" | |
# Start Job | |
- name: start Job | |
run: date | |
# =================================================================== | |
# Health Check Start | |
# =================================================================== | |
- name: alignlab health check | |
run: | | |
curl -X 'GET' \ | |
'https://api.alignlab.site/api/v1/health' \ | |
-H 'accept: application/json' | |
- name: readys.link health check | |
run: | | |
curl -X 'GET' \ | |
'https://readys.link/api/v1/health' \ | |
-H 'accept: application/json' | |
# =================================================================== | |
# Health Check End | |
# =================================================================== | |
# End Job | |
- name: end Job | |
run: date |