File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,12 @@ name: Keep Render Services Alive
22
33on :
44 schedule :
5- - cron : ' */1 * * * *'
6-
5+ - cron : ' */2 * * * *'
6+ push :
7+ branches :
8+ - main
9+ - master
10+
711jobs :
812 ping-services :
913 runs-on : ubuntu-latest
@@ -13,14 +17,14 @@ jobs:
1317 curl -X POST https://codebrewery-api-gateway.onrender.com/execute \
1418 -H "Content-Type: application/json" \
1519 -d '{"language":"python","code":"print(\"Keeping service alive\")"}' \
16- || echo "API Gateway ping sent"
20+ -v || echo "API Gateway ping sent"
1721
1822 - name : Ping Code Execution Service
1923 run : |
2024 curl -X POST https://codebrewery-code-execution-service.onrender.com/execute \
2125 -H "Content-Type: application/json" \
2226 -d '{"language":"python","code":"print(\"Keeping service alive\")"}' \
23- || echo "Code Execution Service ping sent"
27+ -v || echo "Code Execution Service ping sent"
2428
2529 - name : Timestamp
2630 run : echo "Services pinged at $(date)"
You can’t perform that action at this time.
0 commit comments