Skip to content

Update sbt-ci-release to 1.9.0 (#204) #113

Update sbt-ci-release to 1.9.0 (#204)

Update sbt-ci-release to 1.9.0 (#204) #113

Workflow file for this run

name: Publish Documentation
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 18.x
cache: yarn
cache-dependency-path: ./vuepress/yarn.lock
- run: yarn --cwd ./vuepress install
- name: Setup Java
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
- run: sbt docs/mdoc
- run: yarn --cwd ./vuepress docs:build
- run: mv vuepress/docs/.vuepress/dist ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1