-
Notifications
You must be signed in to change notification settings - Fork 42
42 lines (31 loc) · 957 Bytes
/
docs.yml
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
40
41
42
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Documentation
on:
push:
branches: [ "master", "documentation" ]
permissions:
contents: read
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- name: Compile Vert.x Lang Scala
run: mvn install -DskipTests
- name: Compile Documentation
run: cd vertx-lang-scala && sbt doc
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v2.0.0
with:
path: vertx-lang-scala/target/scala-3.1.1/api/
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v1.2.9