Skip to content

Update dashboard-config.yml #10

Update dashboard-config.yml

Update dashboard-config.yml #10

Workflow file for this run

name: Run Dashboard
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'dashboard-config.yml'
- 'Makefile'
schedule:
# This will run at 05:48 on first day of the month in every month from January through December.
- cron: "48 5 1 1-12 *"
jobs:
dashboard:
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.3.1
strategy:
max-parallel: 1
steps:
- name: Checkout main branch
uses: actions/checkout@v3
- 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@v4
with:
commit-message: Update dashboard run
title: 'Update dashboard run'
body: |
Updates the Custom OBO Dashboard