add gitea actions

This commit is contained in:
Kevin Muñoz 2024-01-24 21:33:25 -05:00
parent 2c1c18585a
commit 196b31300a
No known key found for this signature in database
GPG Key ID: 3CA0B9DF1BE7CE09
12 changed files with 420 additions and 1 deletions

View File

@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: 'AnandChowdhary'
---
<!-- If you have a question, you should use Discussions instead: https://github.com/upptime/upptime/discussions -->
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Feature requests and ideas
url: https://github.com/upptime/upptime/discussions/new?category=ideas
about: Suggest an idea for this project
- name: Questions
url: https://github.com/upptime/upptime/discussions/new?category=q-a
about: Please ask and answer questions here

View File

@ -0,0 +1,17 @@
---
name: Maintenance Event
about: Schedule a work window
title: "[Scheduled Maintenance] Site down for Maintenance"
labels: maintenance
assignees: ''
---
<!--
start: 2021-08-24T13:00:00.220Z
end: 2021-08-24T14:00:00.220Z
expectedDown: google, hacker-news
-->
**Additional context**
Who/what/when/where/why is this maintenance happening

View File

@ -0,0 +1,39 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Graphs CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [graphs]
workflow_dispatch:
jobs:
release:
name: Generate graphs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate graphs
uses: upptime/uptime-monitor@v1.36.2
with:
command: "graphs"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}

View File

@ -0,0 +1,40 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Response Time CI
on:
schedule:
- cron: "0 23 * * *"
repository_dispatch:
types: [response_time]
workflow_dispatch:
jobs:
release:
name: Check status
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update response time
uses: upptime/uptime-monitor@v1.36.2
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}

View File

@ -0,0 +1,72 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Setup CI
on:
push:
paths:
- ".upptimerc.yml"
repository_dispatch:
types: [setup]
workflow_dispatch:
jobs:
release:
name: Setup Upptime
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update template
uses: upptime/uptime-monitor@v1.36.2
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- name: Update response time
uses: upptime/uptime-monitor@v1.36.2
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- name: Update summary in README
uses: upptime/uptime-monitor@v1.36.2
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- name: Generate graphs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Graphs CI
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/uptime-monitor@v1.36.2
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- uses: peaceiris/actions-gh-pages@v3.7.3
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT || github.token }}
publish_dir: "site/status-page/__sapper__/export/"
force_orphan: "false"
user_name: "Upptime Bot"
user_email: "73812536+upptime-bot@users.noreply.github.com"

48
.gitea/workflows/site.yml Normal file
View File

@ -0,0 +1,48 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Static Site CI
on:
schedule:
- cron: "0 1 * * *"
repository_dispatch:
types: [static_site]
workflow_dispatch:
jobs:
release:
name: Build and deploy site
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/uptime-monitor@v1.36.2
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- uses: peaceiris/actions-gh-pages@v3.7.3
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT || github.token }}
publish_dir: "site/status-page/__sapper__/export/"
force_orphan: "false"
user_name: "Upptime Bot"
user_email: "73812536+upptime-bot@users.noreply.github.com"

View File

@ -0,0 +1,39 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Summary CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [summary]
workflow_dispatch:
jobs:
release:
name: Generate README
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update summary in README
uses: upptime/uptime-monitor@v1.36.2
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}

View File

@ -0,0 +1,39 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Update Template CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [update_template]
workflow_dispatch:
jobs:
release:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update template
uses: upptime/uptime-monitor@master
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}

View File

@ -0,0 +1,37 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Updates CI
on:
schedule:
- cron: "0 3 * * *"
repository_dispatch:
types: [updates]
workflow_dispatch:
jobs:
release:
name: Deploy updates
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update code
uses: upptime/updates@master
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}

View File

@ -0,0 +1,40 @@
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @v1.36.2
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
name: Uptime CI
on:
schedule:
- cron: "*/5 * * * *"
repository_dispatch:
types: [uptime]
workflow_dispatch:
jobs:
release:
name: Check status
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Check endpoint status
uses: upptime/uptime-monitor@v1.36.2
with:
command: "update"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}

View File

@ -1,7 +1,7 @@
# Change these first
owner: TheSL18 # Your GitHub organization or username, where this repository lives
repo: upptime # The name of this repository
user-agent: TheSL18
user-agent: TheSL1
sites:
- name: API Listas Negras Globalists