Skip to content

Commit 999c872

Browse files
authored
Initial commit
0 parents  commit 999c872

File tree

86 files changed

+1626
-0
lines changed

Some content is hidden

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

86 files changed

+1626
-0
lines changed

.gitattributes

+9
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

.github/ISSUE_TEMPLATE/bug_report.md

+40
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/upptime/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

+8
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/upptime/upptime/discussions/new?category=ideas
5+
about: Suggest an idea for this project
6+
- name: Questions
7+
url: https://github.com/upptime/upptime/discussions/new?category=q-a
8+
about: Please ask and answer questions here
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

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Graphs CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [graphs]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Generate graphs
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Generate graphs
28+
uses: upptime/[email protected]
29+
with:
30+
command: "graphs"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/response-time.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Response Time CI
11+
on:
12+
schedule:
13+
- cron: "0 23 * * *"
14+
repository_dispatch:
15+
types: [response_time]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Check status
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Update response time
28+
uses: upptime/[email protected]
29+
with:
30+
command: "response-time"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
33+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.github/workflows/setup.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Setup CI
11+
on:
12+
push:
13+
paths:
14+
- ".upptimerc.yml"
15+
repository_dispatch:
16+
types: [setup]
17+
workflow_dispatch:
18+
jobs:
19+
release:
20+
name: Setup Upptime
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v3
25+
with:
26+
ref: ${{ github.head_ref }}
27+
token: ${{ secrets.GH_PAT || github.token }}
28+
- name: Update template
29+
uses: upptime/[email protected]
30+
with:
31+
command: "update-template"
32+
env:
33+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
34+
- name: Update response time
35+
uses: upptime/[email protected]
36+
with:
37+
command: "response-time"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
40+
SECRETS_CONTEXT: ${{ toJson(secrets) }}
41+
- name: Update summary in README
42+
uses: upptime/[email protected]
43+
with:
44+
command: "readme"
45+
env:
46+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
47+
- name: Generate graphs
48+
uses: benc-uk/workflow-dispatch@v1
49+
with:
50+
workflow: Graphs CI
51+
token: ${{ secrets.GH_PAT || github.token }}
52+
- name: Generate site
53+
uses: upptime/[email protected]
54+
with:
55+
command: "site"
56+
env:
57+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
58+
- uses: peaceiris/[email protected]
59+
name: GitHub Pages Deploy
60+
with:
61+
github_token: ${{ secrets.GH_PAT || github.token }}
62+
publish_dir: "site/status-page/__sapper__/export/"
63+
force_orphan: "false"
64+
user_name: "Upptime Bot"
65+
user_email: "[email protected]"

.github/workflows/site.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Static Site CI
11+
on:
12+
schedule:
13+
- cron: "0 1 * * *"
14+
repository_dispatch:
15+
types: [static_site]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Build and deploy site
20+
runs-on: ubuntu-latest
21+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v3
25+
with:
26+
ref: ${{ github.head_ref }}
27+
token: ${{ secrets.GH_PAT || github.token }}
28+
- name: Generate site
29+
uses: upptime/[email protected]
30+
with:
31+
command: "site"
32+
env:
33+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
34+
- uses: peaceiris/[email protected]
35+
name: GitHub Pages Deploy
36+
with:
37+
github_token: ${{ secrets.GH_PAT || github.token }}
38+
publish_dir: "site/status-page/__sapper__/export/"
39+
force_orphan: "false"
40+
user_name: "Upptime Bot"
41+
user_email: "[email protected]"

.github/workflows/summary.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Summary CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [summary]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Generate README
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Update summary in README
28+
uses: upptime/[email protected]
29+
with:
30+
command: "readme"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/update-template.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Update Template CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [update_template]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Update template
28+
uses: upptime/uptime-monitor@master
29+
with:
30+
command: "update-template"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/updates.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Updates CI
11+
on:
12+
schedule:
13+
- cron: "0 3 * * *"
14+
repository_dispatch:
15+
types: [updates]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Deploy updates
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Update code
28+
uses: upptime/updates@master
29+
env:
30+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/uptime.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Uptime CI
11+
on:
12+
schedule:
13+
- cron: "*/5 * * * *"
14+
repository_dispatch:
15+
types: [uptime]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Check status
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT || github.token }}
27+
- name: Check endpoint status
28+
uses: upptime/[email protected]
29+
with:
30+
command: "update"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
33+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.templaterc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": [".github/**/*"]
3+
}

0 commit comments

Comments
 (0)