Skip to content

.github/workflows/zenodo_stats.yml #541

.github/workflows/zenodo_stats.yml

.github/workflows/zenodo_stats.yml #541

Workflow file for this run

on:
workflow_dispatch:
schedule:
# runs once a day
- cron: "05 22 * * *"
jobs:
zenodo_stats:
# The type of runner that the job will run on
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out repo
uses: actions/checkout@v6
- name: Check out NMRLipids/BilayerData
uses: actions/checkout@v6
with:
repository: NMRLipids/BilayerData
path: NMRLipidsDB
# Get zenodo DOIs and query stats from API
- name: Zenodo stats
run: |
.scripts/zenodo_stats.sh
# Commits files to repository
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub action
message: "Zenodo stats"
add: 'traffic/zenodo_stats.csv'