Commit 66f767cb authored by Benjamin Beeker's avatar Benjamin Beeker

auto-deploy

parent 7434a605
Pipeline #10831930 passed with stages
in 2 minutes and 11 seconds
stages:
- build
- verify
- install
- deploy
before_script:
- echo '<settings>
......@@ -56,4 +56,19 @@ install-job:
artifacts:
name: "${CI_BUILD_REF_NAME}_${CI_BUILD_REF}"
paths:
- target/*.jar
\ No newline at end of file
- target/*.jar
pages:
image: maven:alpine
environment:
name: staging
stage: deploy
only:
- release
script:
- mvn $MAVEN_CLI_OPTS site site:stage
- mkdir ./public
- cp -rv target/staging/* ./public/
artifacts:
paths:
- public
\ No newline at end of file
......@@ -140,6 +140,10 @@
<id>Comhix-Snapshots</id>
<url>${repository.base}snapshots</url>
</snapshotRepository>
<site>
<id>${project.artifactId}-site</id>
<url>${project.baseUri}</url>
</site>
</distributionManagement>
<profiles>
<profile>
......@@ -232,4 +236,19 @@
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>RELEASE</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>RELEASE</version>
</plugin>
</plugins>
</reporting>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment