Skip to content

Commit ca05255

Browse files
authored
Update setup.yml
1 parent a96268d commit ca05255

File tree

1 file changed

+9
-49
lines changed

1 file changed

+9
-49
lines changed

.github/workflows/setup.yml

Lines changed: 9 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
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.41.0
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-
171
name: Setup CI
182
on:
193
push:
@@ -27,46 +11,22 @@ jobs:
2711
name: Setup Upptime
2812
runs-on: ubuntu-latest
2913
steps:
14+
# Checkout repository
3015
- name: Checkout
31-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd7190b6c3b3efc4797b8c4f7f2f14a0b8bfb0
3217
with:
3318
ref: ${{ github.head_ref }}
3419
token: ${{ secrets.GH_PAT || github.token }}
20+
21+
# Update Upptime template
3522
- name: Update template
36-
uses: upptime/uptime-monitor@v1.41.0
23+
uses: upptime/uptime-monitor@00c72a91a93e179f77a5df612cbe0e9d1534e65b
3724
with:
3825
command: "update-template"
3926
env:
4027
GH_PAT: ${{ secrets.GH_PAT || github.token }}
28+
29+
# Update response time
4130
- name: Update response time
42-
uses: upptime/uptime-monitor@v1.41.0
43-
with:
44-
command: "response-time"
45-
env:
46-
GH_PAT: ${{ secrets.GH_PAT || github.token }}
47-
SECRETS_CONTEXT: ${{ toJson(secrets) }}
48-
- name: Update summary in README
49-
uses: upptime/uptime-monitor@v1.41.0
50-
with:
51-
command: "readme"
52-
env:
53-
GH_PAT: ${{ secrets.GH_PAT || github.token }}
54-
- name: Generate graphs
55-
uses: benc-uk/workflow-dispatch@v1
56-
with:
57-
workflow: Graphs CI
58-
token: ${{ secrets.GH_PAT || github.token }}
59-
- name: Generate site
60-
uses: upptime/uptime-monitor@v1.41.0
61-
with:
62-
command: "site"
63-
env:
64-
GH_PAT: ${{ secrets.GH_PAT || github.token }}
65-
- uses: peaceiris/actions-gh-pages@v4
66-
name: GitHub Pages Deploy
67-
with:
68-
github_token: ${{ secrets.GH_PAT || github.token }}
69-
publish_dir: "site/status-page/__sapper__/export/"
70-
force_orphan: "false"
71-
user_name: "Upptime Bot"
72-
user_email: "73812536+upptime-bot@users.noreply.github.com"
31+
uses: upptime/uptime-monito
32+

0 commit comments

Comments
 (0)