diff --git a/.github/workflows/keep-alive.yml b/.github/workflows/keep-alive.yml new file mode 100644 index 0000000..d56133b --- /dev/null +++ b/.github/workflows/keep-alive.yml @@ -0,0 +1,14 @@ +name: Keep Backend Alive + +on: + schedule: + - cron: '*/10 * * * *' # every 10 minutes + workflow_dispatch: + +jobs: + ping: + runs-on: ubuntu-latest + steps: + - name: Ping backend + run: | + curl -sf ${{ secrets.BACKEND_URL }} || echo "Backend ping failed"