Skip to content

.github/workflows/main.yml #41427

.github/workflows/main.yml

.github/workflows/main.yml #41427

Workflow file for this run

---
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