uptime.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # ===============================
  3. # Do not edit this file directly!
  4. # ===============================
  5. #
  6. # Your changes will be overwritten when the Upptime template updates (by default, weekly)
  7. # Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
  8. #
  9. # 🔼 Upptime @v1.38.0
  10. # GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
  11. # * Source: https://github.com/upptime/upptime
  12. # * Docs and more: https://upptime.js.org
  13. # * More by Anand Chowdhary: https://anandchowdhary.com
  14. name: Uptime CI
  15. on:
  16. schedule:
  17. - cron: "*/5 * * * *"
  18. repository_dispatch:
  19. types: [uptime]
  20. workflow_dispatch:
  21. jobs:
  22. release:
  23. name: Check status
  24. runs-on: ubuntu-latest
  25. steps:
  26. - name: Checkout
  27. uses: actions/checkout@v4
  28. with:
  29. ref: ${{ github.head_ref }}
  30. token: ${{ secrets.GH_PAT || github.token }}
  31. - name: Check endpoint status
  32. uses: upptime/uptime-monitor@v1.38.0
  33. with:
  34. command: "update"
  35. env:
  36. GH_PAT: ${{ secrets.GH_PAT || github.token }}
  37. SECRETS_CONTEXT: ${{ toJson(secrets) }}