update-template.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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: Update Template CI
  15. on:
  16. schedule:
  17. - cron: "0 0 * * *"
  18. repository_dispatch:
  19. types: [update_template]
  20. workflow_dispatch:
  21. jobs:
  22. release:
  23. name: Build
  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: Update template
  32. uses: upptime/uptime-monitor@master
  33. with:
  34. command: "update-template"
  35. env:
  36. GH_PAT: ${{ secrets.GH_PAT || github.token }}