-
-
Notifications
You must be signed in to change notification settings - Fork 48
39 lines (31 loc) · 876 Bytes
/
Copy pathdocs.yml
File metadata and controls
39 lines (31 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Publish Documentation
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy-docs:
name: Build and Deploy Docs
runs-on: ubuntu-latest
# Grant permissions for the GITHUB_TOKEN to push to gh-pages
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Scala using Coursier
uses: coursier/setup-action@v1
with:
apps: sbt
# needed for Jekyll
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Install Jekyll
run: gem install jekyll -v 4.1.0
- name: Publish Microsite
run: sbt microsite/publishMicrosite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}