-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (27 loc) · 836 Bytes
/
main.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
---
on:
schedule:
- cron: '0 * * * *'
jobs:
update-sparql-endpoint-status:
runs-on: ubuntu-latest
name: Update SPARQL Endpoint Service Status
steps:
- uses: actions/checkout@v1
- name: Run service check
run: ./update-status.sh
- name: Commit files
run: |
git diff-index --quiet HEAD || git add latest-status.ttl
git config --local user.email "[email protected]"
git config --local user.name "Claus Stadler"
git diff-index --quiet HEAD || git commit -m "Automatic status update" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload status
# uses: actions/upload-artifact@v1
# with:
# name: status
# path: status.trig