Skip to content

Commit 2d913fd

Browse files
authored
Initial commit
0 parents  commit 2d913fd

86 files changed

Lines changed: 1705 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Markdown
2+
*.md linguist-detectable=true
3+
*.md linguist-documentation=false
4+
5+
# JSON
6+
*.json linguist-detectable=true
7+
8+
# YAML
9+
*.yml linguist-detectable=true
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: 'AnandChowdhary'
7+
8+
---
9+
10+
<!-- If you have a question, you should use Discussions instead: https://github.com/orgs/upptime/discussions -->
11+
12+
**Describe the bug**
13+
A clear and concise description of what the bug is.
14+
15+
**To Reproduce**
16+
Steps to reproduce the behavior:
17+
1. Go to '...'
18+
2. Click on '....'
19+
3. Scroll down to '....'
20+
4. See error
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Screenshots**
26+
If applicable, add screenshots to help explain your problem.
27+
28+
**Desktop (please complete the following information):**
29+
- OS: [e.g. iOS]
30+
- Browser [e.g. chrome, safari]
31+
- Version [e.g. 22]
32+
33+
**Smartphone (please complete the following information):**
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
38+
39+
**Additional context**
40+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Feature requests and ideas
4+
url: https://github.com/orgs/upptime/discussions/new?category=ideas
5+
about: Suggest an idea for this project
6+
- name: Questions
7+
url: https://github.com/orgs/upptime/discussions/new?category=q-a
8+
about: Please ask and answer questions here
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Maintenance Event
3+
about: Schedule a work window
4+
title: "[Scheduled Maintenance] Site down for Maintenance"
5+
labels: maintenance
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
start: 2021-08-24T13:00:00.220Z
12+
end: 2021-08-24T14:00:00.220Z
13+
expectedDown: google, hacker-news
14+
-->
15+
16+
**Additional context**
17+
Who/what/when/where/why is this maintenance happening

.github/workflows/graphs.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Graphs CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [graphs]
23+
workflow_dispatch:
24+
concurrency:
25+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
26+
cancel-in-progress: false
27+
jobs:
28+
release:
29+
name: Generate graphs
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v6
34+
with:
35+
ref: ${{ github.head_ref || github.ref_name }}
36+
token: ${{ secrets.GH_PAT || github.token }}
37+
- name: Setup Node.js for graphs
38+
uses: actions/setup-node@v6
39+
with:
40+
node-version: "20"
41+
- name: Generate graphs
42+
uses: upptime/uptime-monitor@v1.43.9
43+
with:
44+
command: "graphs"
45+
env:
46+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Response Time CI
18+
on:
19+
schedule:
20+
- cron: "0 23 * * *"
21+
repository_dispatch:
22+
types: [response_time]
23+
workflow_dispatch:
24+
concurrency:
25+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
26+
cancel-in-progress: false
27+
jobs:
28+
release:
29+
name: Check status
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v6
34+
with:
35+
ref: ${{ github.head_ref || github.ref_name }}
36+
token: ${{ secrets.GH_PAT || github.token }}
37+
- name: Update response time
38+
uses: upptime/uptime-monitor@v1.43.9
39+
with:
40+
command: "response-time"
41+
env:
42+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
43+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.github/workflows/setup.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Setup CI
18+
on:
19+
push:
20+
paths:
21+
- ".upptimerc.yml"
22+
repository_dispatch:
23+
types: [setup]
24+
workflow_dispatch:
25+
concurrency:
26+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
27+
cancel-in-progress: false
28+
jobs:
29+
release:
30+
name: Setup Upptime
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v6
35+
with:
36+
ref: ${{ github.head_ref || github.ref_name }}
37+
token: ${{ secrets.GH_PAT || github.token }}
38+
- name: Update template
39+
uses: upptime/uptime-monitor@v1.43.9
40+
with:
41+
command: "update-template"
42+
env:
43+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
44+
- name: Update response time
45+
uses: upptime/uptime-monitor@v1.43.9
46+
with:
47+
command: "response-time"
48+
env:
49+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
50+
SECRETS_CONTEXT: ${{ toJson(secrets) }}
51+
- name: Update summary in README
52+
uses: upptime/uptime-monitor@v1.43.9
53+
with:
54+
command: "readme"
55+
env:
56+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
57+
- name: Generate graphs
58+
id: dispatch_graphs
59+
uses: benc-uk/workflow-dispatch@v1
60+
continue-on-error: true
61+
with:
62+
workflow: Graphs CI
63+
token: ${{ secrets.GH_PAT || github.token }}
64+
- name: Setup Node.js for direct graph generation
65+
if: steps.dispatch_graphs.outcome == 'failure'
66+
uses: actions/setup-node@v6
67+
with:
68+
node-version: "20"
69+
- name: Generate graphs directly if dispatch fails
70+
if: steps.dispatch_graphs.outcome == 'failure'
71+
uses: upptime/uptime-monitor@v1.43.9
72+
with:
73+
command: "graphs"
74+
env:
75+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
76+
- name: Generate site
77+
uses: upptime/uptime-monitor@v1.43.9
78+
with:
79+
command: "site"
80+
env:
81+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
82+
- uses: peaceiris/actions-gh-pages@v4
83+
name: GitHub Pages Deploy
84+
with:
85+
github_token: ${{ secrets.GH_PAT || github.token }}
86+
publish_dir: "site/status-page/__sapper__/export/"
87+
force_orphan: "false"
88+
user_name: "Upptime Bot"
89+
user_email: "73812536+upptime-bot@users.noreply.github.com"

.github/workflows/site.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Static Site CI
18+
on:
19+
push:
20+
paths:
21+
- "assets/**"
22+
schedule:
23+
- cron: "0 1 * * *"
24+
repository_dispatch:
25+
types: [static_site]
26+
workflow_dispatch:
27+
concurrency:
28+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
29+
cancel-in-progress: false
30+
jobs:
31+
release:
32+
name: Build and deploy site
33+
runs-on: ubuntu-latest
34+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v6
38+
with:
39+
ref: ${{ github.head_ref || github.ref_name }}
40+
token: ${{ secrets.GH_PAT || github.token }}
41+
- name: Generate site
42+
uses: upptime/uptime-monitor@v1.43.9
43+
with:
44+
command: "site"
45+
env:
46+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
47+
- uses: peaceiris/actions-gh-pages@v4
48+
name: GitHub Pages Deploy
49+
with:
50+
github_token: ${{ secrets.GH_PAT || github.token }}
51+
publish_dir: "site/status-page/__sapper__/export/"
52+
force_orphan: "false"
53+
user_name: "Upptime Bot"
54+
user_email: "73812536+upptime-bot@users.noreply.github.com"

.github/workflows/summary.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Summary CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [summary]
23+
workflow_dispatch:
24+
concurrency:
25+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
26+
cancel-in-progress: false
27+
jobs:
28+
release:
29+
name: Generate README
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v6
34+
with:
35+
ref: ${{ github.head_ref || github.ref_name }}
36+
token: ${{ secrets.GH_PAT || github.token }}
37+
- name: Update summary in README
38+
uses: upptime/uptime-monitor@v1.43.9
39+
with:
40+
command: "readme"
41+
env:
42+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.43.9
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Update Template CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [update_template]
23+
workflow_dispatch:
24+
concurrency:
25+
group: ${{ github.repository }}-${{ github.head_ref || github.ref_name }}-upptime
26+
cancel-in-progress: false
27+
jobs:
28+
release:
29+
name: Build
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v6
34+
with:
35+
ref: ${{ github.head_ref || github.ref_name }}
36+
token: ${{ secrets.GH_PAT || github.token }}
37+
- name: Update template
38+
uses: upptime/uptime-monitor@master
39+
with:
40+
command: "update-template"
41+
env:
42+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

0 commit comments

Comments
 (0)