File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # see https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml for reference
2
+ name : Publish to GitHub Pages
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ paths :
7
+ - docs/**
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch :
10
+ concurrency :
11
+ group : github-pages
12
+ cancel-in-progress : false
13
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
+ permissions :
15
+ contents : read
16
+ pages : write
17
+ id-token : write
18
+ jobs :
19
+ build :
20
+ runs-on : ubuntu-latest
21
+ environment :
22
+ name : github-pages
23
+ url : ${{ steps.deployment.outputs.page_url }}
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v4
27
+ - name : Configure Pages
28
+ id : pages
29
+ uses : actions/configure-pages@v3
30
+ - name : Generate Site
31
+ run : mvn clean install -DskipTests
32
+ - name : Upload Artifacts
33
+ uses : actions/upload-pages-artifact@v1
34
+ with :
35
+ path : " docs/target/generated-docs/"
36
+ - name : Deploy to GitHub Pages
37
+ id : deployment
38
+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments