Skip to content

Commit

Permalink
Add batches with DOI and action status
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Aug 31, 2023
1 parent ff7a264 commit 7642758
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - build docs
# - publish docs, vocabulary-turtle files and excel-file to gh-pages

name: Build & Publish
name: Build
on:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - build docs
# - publish docs, vocabulary-turtle files and excel-file to gh-pages

name: Build & Publish
name: Publish
on:
push:
tags:
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![DOI](https://zenodo.org/badge/577900339.svg)](https://zenodo.org/badge/latestdoi/577900339)
[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Publish/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions)
[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Build/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions)

# A template to maintain vocabularies on GitHub

This repository may be used to create and maintain your own SKOS-vocabularies on GitHub.
Expand Down Expand Up @@ -25,12 +29,11 @@ To validate IRIs the configuration supports ID-ranges (similar to [OBO idrange](
The idea is that every author gets their own range of IDs to consume.
This allows independent work and avoids using the same ID repeatedly.


The voc4cat-template implements automatic storage of different versions of the vocabularies in gh-pages:

- `dev` - Directory with artifacts built from the most recent commit to the main branch.
- `latest` - Directory with all files built for the latest release.
- `vYYYY-MM-DD` (for example `v2023-08-16`) - Directory with all files built for the release with this tag.
- `dev` - Directory with artifacts built from the most recent commit to the main branch.
- `latest` - Directory with all files built for the latest release.
- `vYYYY-MM-DD` (for example `v2023-08-16`) - Directory with all files built for the release with this tag.

For all versions, multiple files are stored (see https://github.com/nfdi4cat/voc4cat-template/issues/11#issuecomment-1680592185 for details). The correct version string is automatically inserted to all build artifacts. For `dev`, the first eight characters of the commit hash are used as version (for example `v_fadfa5f9`).

Expand Down

0 comments on commit 7642758

Please sign in to comment.