Skip to content

.github/workflows/main.yml #41456

.github/workflows/main.yml

.github/workflows/main.yml #41456

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 "cstadler@informatik.uni-leipzig.de"
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