We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a3bd4 commit bc13aabCopy full SHA for bc13aab
1 file changed
.github/workflows/health-check.yml
@@ -1,23 +1 @@
1
-name: Aleo Prover Health Check
2
3
-on:
4
- schedule:
5
- - cron: '*/10 * * * *' # Run every 10 minutes
6
- workflow_dispatch: # Allow manual trigger
7
-
8
-jobs:
9
- ping:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - name: Health Check Ping
13
- run: |
14
- # Replace with your actual deployment URL
15
- URL="https://your-aleo-prover-app.com/health"
16
- echo "Pinging $URL"
17
- RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "$URL")
18
- if [ "$RESPONSE" -eq 200 ]; then
19
- echo "Health check successful!"
20
- else
21
- echo "Health check failed with status $RESPONSE"
22
- exit 1
23
- fi
0 commit comments