Skip to content

Commit 59b5293

Browse files
authored
Add pages for software card (#9)
* Try to add pages * Add local paths as redirections * Change home directory to local .. * Try to find style.css * Change link style * Create example hermes.json * Create example tags.json * Change paths for modules * Make module import local * Make module imports local 2 * Correct module imports * Correct paths * Correct paths 2 * Change pages deployment to main
1 parent 59bfa04 commit 59b5293

File tree

15 files changed

+512
-38
lines changed

15 files changed

+512
-38
lines changed

.github/workflows/pages.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
# Upload entire repository
40+
path: './public/'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

public/.hermes/process/hermes.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"@context": [
3+
"https://doi.org/10.5063/schema/codemeta-2.0",
4+
{
5+
"hermes": "https://software-metadata.pub/ns/hermes/"
6+
}
7+
],
8+
"@type": "SoftwareSourceCode",
9+
"author": [
10+
{
11+
"@id": "https://orcid.org/0000-0001-6372-3853",
12+
"@type": "Person",
13+
"affiliation": {
14+
"@type": "Organization",
15+
"legalName": "German Aerospace Center (DLR)"
16+
},
17+
"familyName": "Meinel",
18+
"givenName": "Michael",
19+
"email": "[email protected]"
20+
},
21+
22+
{
23+
"@id": "https://orcid.org/0000-0003-4925-7248",
24+
"@type": "Person",
25+
"affiliation": {
26+
"@type": "Organization",
27+
"legalName": "German Aerospace Center (DLR)"
28+
},
29+
"familyName": "Druskat",
30+
"givenName": "Stephan",
31+
"email": "[email protected]"
32+
},
33+
{
34+
"@id": "https://orcid.org/0000-0002-2702-3419",
35+
"@type": "Person",
36+
"affiliation": {
37+
"@type": "Organization",
38+
"legalName": "Forschungszentrum J\u00c3\u00bclich"
39+
},
40+
"familyName": "Bertuch",
41+
"givenName": "Oliver",
42+
"email": "[email protected]"
43+
},
44+
{
45+
"@id": "https://orcid.org/0000-0001-8174-7795",
46+
"@type": "Person",
47+
"affiliation": {
48+
"@type": "Organization",
49+
"legalName": "Helmholtz-Zentrum Dresden-Rossendorf (HZDR)"
50+
},
51+
"familyName": "Knodel",
52+
"givenName": "Oliver",
53+
"email": "[email protected]"
54+
},
55+
{
56+
"@id": "https://orcid.org/0000-0002-3145-9880",
57+
"@type": "Person",
58+
"affiliation": {
59+
"@type": "Organization",
60+
"legalName": "Helmholtz-Zentrum Dresden-Rossendorf (HZDR)"
61+
},
62+
"familyName": "Pape",
63+
"givenName": "David",
64+
"email": "[email protected]"
65+
},
66+
{
67+
"@id": "https://orcid.org/0009-0005-4430-6743",
68+
"@type": "Person",
69+
"affiliation": {
70+
"@type": "Organization",
71+
"legalName": "German Aerospace Center (DLR)"
72+
},
73+
"familyName": "Sophie",
74+
"givenName": "Kernchen",
75+
"email": "[email protected]"
76+
},
77+
{
78+
"@id": "https://orcid.org/0009-0001-8382-4923",
79+
"@type": "Person",
80+
"affiliation": {
81+
"@type": "Organization",
82+
"legalName": "Forschungszentrum J\u00c3\u00bclich"
83+
},
84+
"familyName": "Heeb",
85+
"givenName": "Nitai",
86+
"email": "[email protected]"
87+
}
88+
],
89+
"description": "Cool tool",
90+
"license": "https://spdx.org/licenses/Apache-2.0",
91+
"name": "SoftwareCaRD Test",
92+
"version": "0.1.0"
93+
}

0 commit comments

Comments
 (0)