File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- site
7
7
8
+ permissions :
9
+ contents : write
10
+
8
11
jobs :
9
12
build :
10
13
if : github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
@@ -20,12 +23,10 @@ jobs:
20
23
- name : Build site
21
24
run : ./mvnw site site:stage -DskipTests -Dlicense.skip=true -B -V --no-transfer-progress --settings ./.mvn/settings.xml
22
25
env :
23
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
24
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
27
NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
26
28
- name : Deploy Site to gh-pages
27
29
uses : JamesIves/github-pages-deploy-action@v4
28
30
with :
29
31
branch : gh-pages
30
32
folder : target/staging
31
- ssh-key : ${{ secrets.DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments