.github/workflows/main.yml #40512
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |