Skip to content

Add optional endpoint description resource institution field #7

Add optional endpoint description resource institution field

Add optional endpoint description resource institution field #7

Workflow file for this run

name: Generate site + javadoc github pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: 'Build dependency: fcs-sru-server@main'
run: |
git clone --depth 1 https://github.com/clarin-eric/fcs-sru-server.git
cd fcs-sru-server/
mvn -B install
- name: Generate site (project info and javadoc)
run: mvn -B clean site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './target/site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1