cron: improve names, undo test changes

This commit is contained in:
martin-mfg
2025-06-28 17:30:43 +02:00
parent 3ead183c1e
commit bfb92fefb6
2 changed files with 3 additions and 32 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
name: trigger server to update cached data
name: Trigger server to update cached data
on:
schedule:
# ┌───────────── minute (0 - 59)
@@ -10,11 +10,12 @@ on:
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: "*/5 * * * *"
- cron: "45 1/12 * * *"
workflow_dispatch:
jobs:
triggerRepeatRecent:
name: Trigger server to update cached data.
runs-on: ubuntu-latest
steps:
- name: Make Request
@@ -1,30 +0,0 @@
name: trigger server to update cached data
on:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: "*/5 * * * *"
workflow_dispatch:
jobs:
triggerRepeatRecent:
runs-on: ubuntu-latest
steps:
- name: Make Request
id: myRequest
uses: fjogeleit/http-request-action@v1
with:
url: "https://github-readme-stats-git-caching-martin-mfgs-projects.vercel.app/api/repeat-recent"
method: "POST"
timeout: "62000"
- name: Show Response
run: |
echo ${{ steps.myRequest.outputs.response }}
echo ${{ steps.myRequest.outputs.status }}