mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-28 17:48:19 +01:00
Compare commits
No commits in common. "9241779c8ab34d0f3486bae552a720307a2cf6f0" and "909a905c55ae12097d93bcf222fbfedea42a26a5" have entirely different histories.
9241779c8a
...
909a905c55
15
.github/workflows/pages.yml
vendored
15
.github/workflows/pages.yml
vendored
@ -20,23 +20,12 @@ 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
|
||||
|
@ -18,6 +18,15 @@ 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.
|
||||
|
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