fix site build

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

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

1
site/.gitignore vendored

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

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