mirror of
https://github.com/whitney-server/upptime.git
synced 2026-09-25 21:18:42 -07:00
⬆️ Update @upptime to v1.44.0
This commit is contained in:
parent
1a0646e4c6
commit
c33d3633c3
21
.github/workflows/graphs.yml
vendored
21
.github/workflows/graphs.yml
vendored
@ -6,7 +6,7 @@
|
||||
# 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.43.16
|
||||
# 🔼 Upptime @v1.44.0
|
||||
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||
|
||||
# * Source: https://github.com/upptime/upptime
|
||||
@ -28,19 +28,32 @@ jobs:
|
||||
release:
|
||||
name: Generate graphs
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
id: app_token
|
||||
if: ${{ vars.GH_APP_ID != '' && env.GH_APP_PRIVATE_KEY != '' }}
|
||||
uses: actions/create-github-app-token@v3
|
||||
with:
|
||||
client-id: ${{ vars.GH_APP_ID }}
|
||||
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
|
||||
- name: Clear GitHub App private key
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: echo "GH_APP_PRIVATE_KEY=" >> "$GITHUB_ENV"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
token: ${{ secrets.GH_PAT || github.token }}
|
||||
token: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
- name: Setup Node.js for graphs
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Generate graphs
|
||||
uses: upptime/uptime-monitor@v1.43.16
|
||||
uses: upptime/uptime-monitor@v1.44.0
|
||||
with:
|
||||
command: "graphs"
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT || github.token }}
|
||||
GH_PAT: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
|
||||
21
.github/workflows/response-time.yml
vendored
21
.github/workflows/response-time.yml
vendored
File diff suppressed because one or more lines are too long
41
.github/workflows/setup.yml
vendored
41
.github/workflows/setup.yml
vendored
File diff suppressed because one or more lines are too long
23
.github/workflows/site.yml
vendored
23
.github/workflows/site.yml
vendored
@ -6,7 +6,7 @@
|
||||
# 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.43.16
|
||||
# 🔼 Upptime @v1.44.0
|
||||
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||
|
||||
# * Source: https://github.com/upptime/upptime
|
||||
@ -32,22 +32,35 @@ jobs:
|
||||
name: Build and deploy site
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
env:
|
||||
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
id: app_token
|
||||
if: ${{ vars.GH_APP_ID != '' && env.GH_APP_PRIVATE_KEY != '' }}
|
||||
uses: actions/create-github-app-token@v3
|
||||
with:
|
||||
client-id: ${{ vars.GH_APP_ID }}
|
||||
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
|
||||
- name: Clear GitHub App private key
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: echo "GH_APP_PRIVATE_KEY=" >> "$GITHUB_ENV"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
token: ${{ secrets.GH_PAT || github.token }}
|
||||
token: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
- name: Generate site
|
||||
uses: upptime/uptime-monitor@v1.43.16
|
||||
uses: upptime/uptime-monitor@v1.44.0
|
||||
with:
|
||||
command: "site"
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT || github.token }}
|
||||
GH_PAT: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
- uses: peaceiris/actions-gh-pages@v4
|
||||
name: GitHub Pages Deploy
|
||||
with:
|
||||
github_token: ${{ secrets.GH_PAT || github.token }}
|
||||
github_token: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
publish_dir: "site/status-page/__sapper__/export/"
|
||||
force_orphan: "false"
|
||||
user_name: "Upptime Bot"
|
||||
|
||||
21
.github/workflows/summary.yml
vendored
21
.github/workflows/summary.yml
vendored
@ -6,7 +6,7 @@
|
||||
# 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.43.16
|
||||
# 🔼 Upptime @v1.44.0
|
||||
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||
|
||||
# * Source: https://github.com/upptime/upptime
|
||||
@ -28,15 +28,28 @@ jobs:
|
||||
release:
|
||||
name: Generate README
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
id: app_token
|
||||
if: ${{ vars.GH_APP_ID != '' && env.GH_APP_PRIVATE_KEY != '' }}
|
||||
uses: actions/create-github-app-token@v3
|
||||
with:
|
||||
client-id: ${{ vars.GH_APP_ID }}
|
||||
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
|
||||
- name: Clear GitHub App private key
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: echo "GH_APP_PRIVATE_KEY=" >> "$GITHUB_ENV"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
token: ${{ secrets.GH_PAT || github.token }}
|
||||
token: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
- name: Update summary in README
|
||||
uses: upptime/uptime-monitor@v1.43.16
|
||||
uses: upptime/uptime-monitor@v1.44.0
|
||||
with:
|
||||
command: "readme"
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT || github.token }}
|
||||
GH_PAT: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
|
||||
19
.github/workflows/update-template.yml
vendored
19
.github/workflows/update-template.yml
vendored
@ -6,7 +6,7 @@
|
||||
# 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.43.16
|
||||
# 🔼 Upptime @v1.44.0
|
||||
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||
|
||||
# * Source: https://github.com/upptime/upptime
|
||||
@ -28,15 +28,28 @@ jobs:
|
||||
release:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
id: app_token
|
||||
if: ${{ vars.GH_APP_ID != '' && env.GH_APP_PRIVATE_KEY != '' }}
|
||||
uses: actions/create-github-app-token@v3
|
||||
with:
|
||||
client-id: ${{ vars.GH_APP_ID }}
|
||||
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
|
||||
- name: Clear GitHub App private key
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: echo "GH_APP_PRIVATE_KEY=" >> "$GITHUB_ENV"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
token: ${{ secrets.GH_PAT || github.token }}
|
||||
token: ${{ steps.app_token.outputs.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 }}
|
||||
GH_PAT: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
|
||||
19
.github/workflows/updates.yml
vendored
19
.github/workflows/updates.yml
vendored
@ -6,7 +6,7 @@
|
||||
# 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.43.16
|
||||
# 🔼 Upptime @v1.44.0
|
||||
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||
|
||||
# * Source: https://github.com/upptime/upptime
|
||||
@ -28,13 +28,26 @@ jobs:
|
||||
release:
|
||||
name: Deploy updates
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
id: app_token
|
||||
if: ${{ vars.GH_APP_ID != '' && env.GH_APP_PRIVATE_KEY != '' }}
|
||||
uses: actions/create-github-app-token@v3
|
||||
with:
|
||||
client-id: ${{ vars.GH_APP_ID }}
|
||||
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
|
||||
- name: Clear GitHub App private key
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: echo "GH_APP_PRIVATE_KEY=" >> "$GITHUB_ENV"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
token: ${{ secrets.GH_PAT || github.token }}
|
||||
token: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
- name: Update code
|
||||
uses: upptime/updates@master
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT || github.token }}
|
||||
GH_PAT: ${{ steps.app_token.outputs.token || secrets.GH_PAT || github.token }}
|
||||
|
||||
21
.github/workflows/uptime.yml
vendored
21
.github/workflows/uptime.yml
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user