Skip to content

Commit

Permalink
Merge pull request #428 from hazendaz/master
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Dec 8, 2023
2 parents 2cd1c0e + 34bacb7 commit cb94158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Build site
run: ./mvnw site -DskipTests -B -V --no-transfer-progress -Dlicense.skip=true
run: ./mvnw site site:stage -DskipTests -B -V --no-transfer-progress -Dlicense.skip=true
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -29,6 +29,6 @@ jobs:
with:
ssh-key: true
branch: gh-pages
folder: target/site
folder: target/staging
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>default,zh_CN</locales>
<topSiteURL>${project.distributionManagement.site.url}</topSiteURL>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit cb94158

Please sign in to comment.