generated from upptime/upptime
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.11 KB
/
update-template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>