Skip to content

Run Dashboard

Run Dashboard #185

Workflow file for this run

name: Run Dashboard
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'dashboard-config.yml'
- 'Makefile'
schedule:
- cron: "0 13 * * 1"
jobs:
dashboard:
runs-on: ubuntu-latest
container: obolibrary/odkfull:dev
strategy:
max-parallel: 1
steps:
- name: Checkout main branch
uses: actions/checkout@v4
- name: work around permission issue
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Clean directories
run: rm -rf dashboard ontologies && mkdir -p dashboard ontologies
- name: Prepare run
run: cp dashboard-config.yml /tools/OBO-Dashboard/dashboard-config.yml && cp -r sparql/ /tools/OBO-Dashboard/sparql
- name: Run dashboard
run: obodash -C dashboard-config.yml
- name: Copy results
run: cp -r /tools/OBO-Dashboard/dashboard/* dashboard/ && cp -r /tools/OBO-Dashboard/build/ontologies/* ontologies/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update dashboard run
title: 'Update dashboard run'
body: |
Updates the OBO NOR dashboard
assignees: pfabry