mirror of
https://github.com/whitney-server/upptime.git
synced 2026-09-27 13:58:41 -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)
|
# 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.
|
# 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
|
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||||
|
|
||||||
# * Source: https://github.com/upptime/upptime
|
# * Source: https://github.com/upptime/upptime
|
||||||
@ -28,19 +28,32 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Generate graphs
|
name: Generate graphs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
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
|
- name: Setup Node.js for graphs
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
- name: Generate graphs
|
- name: Generate graphs
|
||||||
uses: upptime/uptime-monitor@v1.43.16
|
uses: upptime/uptime-monitor@v1.44.0
|
||||||
with:
|
with:
|
||||||
command: "graphs"
|
command: "graphs"
|
||||||
env:
|
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)
|
# 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.
|
# 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
|
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||||
|
|
||||||
# * Source: https://github.com/upptime/upptime
|
# * Source: https://github.com/upptime/upptime
|
||||||
@ -32,22 +32,35 @@ jobs:
|
|||||||
name: Build and deploy site
|
name: Build and deploy site
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||||
|
env:
|
||||||
|
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
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
|
- name: Generate site
|
||||||
uses: upptime/uptime-monitor@v1.43.16
|
uses: upptime/uptime-monitor@v1.44.0
|
||||||
with:
|
with:
|
||||||
command: "site"
|
command: "site"
|
||||||
env:
|
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
|
- uses: peaceiris/actions-gh-pages@v4
|
||||||
name: GitHub Pages Deploy
|
name: GitHub Pages Deploy
|
||||||
with:
|
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/"
|
publish_dir: "site/status-page/__sapper__/export/"
|
||||||
force_orphan: "false"
|
force_orphan: "false"
|
||||||
user_name: "Upptime Bot"
|
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)
|
# 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.
|
# 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
|
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||||
|
|
||||||
# * Source: https://github.com/upptime/upptime
|
# * Source: https://github.com/upptime/upptime
|
||||||
@ -28,15 +28,28 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Generate README
|
name: Generate README
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
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
|
- name: Update summary in README
|
||||||
uses: upptime/uptime-monitor@v1.43.16
|
uses: upptime/uptime-monitor@v1.44.0
|
||||||
with:
|
with:
|
||||||
command: "readme"
|
command: "readme"
|
||||||
env:
|
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)
|
# 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.
|
# 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
|
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||||
|
|
||||||
# * Source: https://github.com/upptime/upptime
|
# * Source: https://github.com/upptime/upptime
|
||||||
@ -28,15 +28,28 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
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
|
- name: Update template
|
||||||
uses: upptime/uptime-monitor@master
|
uses: upptime/uptime-monitor@master
|
||||||
with:
|
with:
|
||||||
command: "update-template"
|
command: "update-template"
|
||||||
env:
|
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)
|
# 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.
|
# 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
|
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
|
||||||
|
|
||||||
# * Source: https://github.com/upptime/upptime
|
# * Source: https://github.com/upptime/upptime
|
||||||
@ -28,13 +28,26 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Deploy updates
|
name: Deploy updates
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
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
|
- name: Update code
|
||||||
uses: upptime/updates@master
|
uses: upptime/updates@master
|
||||||
env:
|
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