Updated dependency to 0.2.14 #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish website (Mdoc + Docusaurus) | |
on: | |
push: | |
branches: [ main, master ] | |
tags: [ "*" ] | |
jobs: | |
publish: | |
name: Build a docusaurus website with guides and scaladoc | |
if: ${{ github.repository_owner == 'weso' }} # Do not run in forks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Scala | |
uses: olafurpg/setup-scala@v11 | |
with: | |
java-version: openjdk@1.14 | |
- name: Set up GPG | |
uses: olafurpg/setup-gpg@v3 | |
- name: Setup graphviz/dot for scaladoc diagrams | |
uses: ts-graphviz/setup-graphviz@v1 | |
- name: Build and publish docusaurus site, generating the scaladoc | |
run: sbt '++2.13.8 docs/docusaurusPublishGhpages' | |
env: | |
GIT_DEPLOY_KEY: ${{ secrets.RDFSHAPE_API_DEPLOY_KEY }} |