diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6cb8c1f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +name: Keep Backend Alive + +on: + schedule: + # Runs every 1 minute + - cron: '*/5 * * * *' + +jobs: + ping-backend: + runs-on: ubuntu-latest + steps: + - name: Send ping to backend + run: | + curl -X GET "https://dypcetclubs-live.onrender.com/api/clubs/getcron" diff --git a/README.md b/README.md index 0891ffa..858b4e1 100644 --- a/README.md +++ b/README.md @@ -145,17 +145,17 @@ We are grateful to all the contributors who have helped improve this project. Yo