Skip to content

Commit

Permalink
Created separate releases folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mkollenstart committed Nov 6, 2023
1 parent cb7cbc8 commit d635bde
Show file tree
Hide file tree
Showing 47 changed files with 3,560 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fix permissions
run: |
mkdir $GITHUB_REF_NAME
cp -r * $GITHUB_REF_NAME || true
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: ${{ github.ref_name }}
# Upload releases folder
path: ./releases/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
46 changes: 46 additions & 0 deletions releases/0.8/catalog/schema/catalog-error-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "CatalogErrorSchema",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CatalogError"
}
],
"$id": "https://w3id.org/dspace/schemas/v0.8/CatalogErrorSchema",
"definitions": {
"CatalogError": {
"type": "object",
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/v0.8/context.json"
},
"@type": {
"type": "string",
"const": "dspace:CatalogError"
},
"dspace:code": {
"type": "string"
},
"dspace:reason": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@value": {
"type": "string"
},
"@language": {
"type": "string"
}
},
"required": ["@value", "@language"]
},
"minItems": 1
}
},
"required": [ "@context", "@type" ]
}
}
}
33 changes: 33 additions & 0 deletions releases/0.8/catalog/schema/catalog-request-message-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "CatalogRequestMessageSchema",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CatalogRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/v0.8/CatalogRequestMessageSchema",
"definitions": {
"CatalogRequestMessage": {
"type": "object",
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/v0.8/context.json"
},
"@type": {
"type": "string",
"const": "dspace:CatalogRequestMessage"
},
"dspace:filter": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [ "@context", "@type"]
}
}
}
Loading

0 comments on commit d635bde

Please sign in to comment.