fix site build

pull/2224/head
hengyunabc 3 years ago
parent 8f36fdd720
commit d776a93b1e

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [7, 8, 9, 10, 11 ]
java: [8, 9, 10, 11 ]
steps:
- uses: actions/checkout@v2
- name: Setup java

1
site/.gitignore vendored

@ -1,3 +1,4 @@
node_modules
.temp
.cache
docs/.vuepress/dist/

6530
site/package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -13,7 +13,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<yarn.registry.url>https://registry.npmmirror.com/</yarn.registry.url>
<!-- <yarn.download.url>https://npm.taobao.org/mirrors/yarn</yarn.download.url> -->
<node.download.url>https://npmmirror.com/mirrors/node/</node.download.url>
<node.version>v16.13.2</node.version>
<yarn.version>v1.22.15</yarn.version>
@ -24,6 +23,7 @@
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
@ -64,20 +64,12 @@
</configuration>
</execution>
<execution>
<id>npm install</id>
<id>vuepress build</id>
<goals>
<goal>npm</goal>
<goal>yarn</goal>
</goals>
<!-- optional: default phase is "generate-resources" -->
<phase>generate-resources</phase>
<configuration>
<!-- optional: The default argument is actually
"install", so unless you need to run some other npm command,
you can remove this whole <configuration> section.
-->
<arguments>run docs:build</arguments>
<arguments>docs:build</arguments>
</configuration>
</execution>
</executions>
@ -87,6 +79,7 @@
<!-- optional: where to download node from. Defaults to https://nodejs.org/dist/ -->
<nodeDownloadRoot>${node.download.url}</nodeDownloadRoot>
<installDirectory>target</installDirectory>
</configuration>
</plugin>
</plugins>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save