Skip to content

增加新代码

增加新代码 #49

Workflow file for this run

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