Skip to content

Merge pull request #79 from ucb-ucie/protocol #33

Merge pull request #79 from ucb-ucie/protocol

Merge pull request #79 from ucb-ucie/protocol #33

Workflow file for this run

name: Docs
on:
push:
branches:
- main
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: 17
apps: sbtn
- name: Build docs
run: |
sbt -v 'doc'
- name: Upload atifact
uses: actions/upload-pages-artifact@v2
with:
path: ./target/scala-2.13/api
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3