Compare commits

...

6 Commits

Author SHA1 Message Date
alanorth
9241779c8a Automated commit with RDF updates 2022-02-16 18:44:03 +00:00
5ec65fa0f0 README.md: remove TODO 2022-02-16 21:42:57 +03:00
alanorth
3b06cf2830 Automated commit with RDF updates 2022-02-16 18:41:04 +00:00
3288d2fe4e
.github/workflows/pages.yml: use separate steps for RDF and site
This way we can track changes and make commits separately for chan-
ges to the RDF files and site content.
2022-02-16 21:35:07 +03:00
a98ca084f7
.github/workflows/pages.yml: minor style issue
No functional difference, but keep the style consistent.
2022-02-16 21:22:16 +03:00
37dd4a87d1
.github/workflows/pages.yml: separate RDF step 2022-02-16 21:21:24 +03:00
4 changed files with 7586 additions and 7584 deletions

View File

@ -20,12 +20,23 @@ jobs:
uses: abatilo/actions-poetry@v2.1.4
- name: Install Python dependencies
run: poetry install
- name: Generate RDF files
run: |
poetry run ./util/create-rdf.py -i ./data/iseal-core.csv -ns https://iseal-community.github.io/iseal-core#
poetry run ./util/create-rdf.py -i ./data/fsc.csv -ns https://iseal-community.github.io/iseal-core/fsc#
- name: Commit RDF changes
uses: stefanzweifel/git-auto-commit-action@v4
# Only run if we are on the main branch. We don't want to create extra
# commits on feature branches or pull requests.
if: ${{ github.ref_name == 'main' }}
with:
commit_message: Automated commit with RDF updates
# Only commit if there are changes to the RDF files.
file_pattern: data/rdf/*.ttl
- name: Generate Hugo content
run: |
poetry run ./util/generate-hugo-content.py -i ./data/iseal-core.csv --clean -d
poetry run ./util/generate-hugo-content.py -i ./data/fsc.csv -d
poetry run util/create-rdf.py -i data/iseal-core.csv -ns https://iseal-community.github.io/iseal-core#
poetry run util/create-rdf.py -i data/fsc.csv -ns https://iseal-community.github.io/iseal-core/fsc#
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Build Hugo site

View File

@ -18,15 +18,6 @@ View the user-friendly schema reference here: https://iseal-community.github.io/
Consult [`README-dev.md`](README-dev.md) for technical information about making changes to the schema, documentaion site, etc.
## TODO
- Repository
- Update GitHub Actions once `util/create-rdf.py` is fixed
- Schema
- Update `util/create-rdf.py`
- Site
- Change "Suggested element" to "DSpace mapping"?
## License
This project's source code is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0-standalone.html). This project's text and graphics are licensed under the [Creative Commons Attribution Share Alike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/legalcode) license.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff