-
Notifications
You must be signed in to change notification settings - Fork 100
34 lines (30 loc) · 842 Bytes
/
ci.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
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up JDK 17 ☕️
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: Install Graphviz 🐰
run: |
sudo apt update -y -m
sudo apt install -y graphviz
- name: Build 🔧
run: mvn clean package
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: target/docs/html # The folder the action should deploy.
single-commit: true