Files
status/.github/workflows/response-time.yml
T
2020-11-21 07:54:29 +11:00

44 lines
1.5 KiB
YAML

# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (weekly)
# Instead, propose changes to the template: https://github.com/upptime/upptime
# Or, change your configuration in .upptimerc.yml
name: Response Time CI
on:
schedule:
- cron: "0 23 * * *"
repository_dispatch:
types: [response_time]
workflow_dispatch:
jobs:
release:
name: Check status
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2.3.3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update response time
uses: upptime/uptime-monitor@master
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT }}
SLACK_APP_ACCESS_TOKEN: ${{ secrets.SLACK_APP_ACCESS_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
CUSTOM_WEBHOOK: ${{ secrets.CUSTOM_WEBHOOK }}
SECRET_SITE: ${{ secrets.SECRET_SITE }}
SECRET_SITE_1: ${{ secrets.SECRET_SITE_1 }}
SECRET_SITE_2: ${{ secrets.SECRET_SITE_2 }}
SECRET_SITE_3: ${{ secrets.SECRET_SITE_3 }}
SECRET_SITE_4: ${{ secrets.SECRET_SITE_4 }}
SECRET_SITE_5: ${{ secrets.SECRET_SITE_5 }}
SECRET_SITE_6: ${{ secrets.SECRET_SITE_6 }}
SECRET_SITE_7: ${{ secrets.SECRET_SITE_7 }}
SECRET_SITE_8: ${{ secrets.SECRET_SITE_8 }}
SECRET_SITE_9: ${{ secrets.SECRET_SITE_9 }}