mirror of
https://github.com/wahyd4/status.git
synced 2026-08-09 05:06:11 +10:00
38 lines
1.1 KiB
YAML
38 lines
1.1 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: Update Template CI
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
repository_dispatch:
|
|
types: [update_template]
|
|
workflow_dispatch:
|
|
jobs:
|
|
release:
|
|
name: Build
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.3
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
token: ${{ secrets.GH_PAT }}
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v1.4.4
|
|
with:
|
|
node-version: 14
|
|
- name: Update template
|
|
run: npx update-template https://github.com/upptime/upptime
|
|
- name: Commit new data
|
|
uses: stefanzweifel/git-auto-commit-action@v4.5.1
|
|
with:
|
|
commit_message: ":arrow_up: Update @upptime to latest"
|
|
commit_user_name: Upptime Bot
|
|
commit_user_email: upptime@koj.co
|
|
commit_author: Upptime Bot <bot@koj.co>
|