mirror of
https://github.com/wahyd4/upptime.git
synced 2026-08-15 08:06:54 +10:00
26 lines
648 B
YAML
26 lines
648 B
YAML
name: Response Time CI
|
|
on:
|
|
schedule:
|
|
- cron: "0 23 * * *"
|
|
repository_dispatch:
|
|
types: [response_time]
|
|
jobs:
|
|
release:
|
|
name: Check status
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Run script
|
|
run: npm run update-with-commit
|
|
env:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
SECRET_SITE: ${{ secrets.SECRET_SITE }}
|
|
SLACK_APP_ACCESS_TOKEN: ${{ secrets.SLACK_APP_ACCESS_TOKEN }}
|