Adds specialised outcomeOf Raise DSL to allow for greater interoperab… #93
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: Build and deploy documentation to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
# Build job | |
build-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build html | |
run: bin/gradle dokkaHtml --no-daemon --stacktrace | |
- name: Upload GitHub Pages artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: lib/build/dokka/html | |
# Publish job | |
publish-documentation: | |
needs: build-documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy GitHub Pages site | |
uses: actions/deploy-pages@v3 |