Spaces:
Sleeping
Sleeping
chore: Add Pinger workflow to periodically send a request to PINGER_URL
Browse files- .github/workflows/pinger.yml +13 -0
.github/workflows/pinger.yml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Pinger
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
schedule:
|
| 5 |
+
# run every 46 hours
|
| 6 |
+
- cron: '0 0 * * *'
|
| 7 |
+
workflow_dispatch:
|
| 8 |
+
|
| 9 |
+
jobs:
|
| 10 |
+
pinger:
|
| 11 |
+
runs-on: ubuntu-latest
|
| 12 |
+
steps:
|
| 13 |
+
- run: curl -s ${{ secrets.PINGER_URL }}
|