mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-28 17:48:19 +01:00
Compare commits
6 Commits
909a905c55
...
9241779c8a
Author | SHA1 | Date | |
---|---|---|---|
|
9241779c8a | ||
5ec65fa0f0 | |||
|
3b06cf2830 | ||
3288d2fe4e | |||
a98ca084f7 | |||
37dd4a87d1 |
15
.github/workflows/pages.yml
vendored
15
.github/workflows/pages.yml
vendored
@ -20,12 +20,23 @@ jobs:
|
|||||||
uses: abatilo/actions-poetry@v2.1.4
|
uses: abatilo/actions-poetry@v2.1.4
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: poetry install
|
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
|
- name: Generate Hugo content
|
||||||
run: |
|
run: |
|
||||||
poetry run ./util/generate-hugo-content.py -i ./data/iseal-core.csv --clean -d
|
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/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
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
- name: Build Hugo site
|
- name: Build Hugo site
|
||||||
|
@ -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.
|
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
|
## 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.
|
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.
|
||||||
|
3764
data/rdf/fsc.ttl
3764
data/rdf/fsc.ttl
File diff suppressed because it is too large
Load Diff
11382
data/rdf/iseal-core.ttl
11382
data/rdf/iseal-core.ttl
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user