Skip to content

Commit

Permalink
experimenting with gitsite
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozelka committed Apr 17, 2016
1 parent ba0dc69 commit 665b9f0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -16,6 +16,8 @@ site:
site-deploy:
git push origin gh-pages

gitsite:
mvn clean install site site-deploy

codeship-setup:
# maven repository will be cached between builds - it has no snapshots anyway
Expand Down
21 changes: 21 additions & 0 deletions pom.xml
Expand Up @@ -138,6 +138,27 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.5</version>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<groupId>net.kozelka.maven</groupId>
<artifactId>gitsite-maven-plugin</artifactId>
<version>0.1.0</version>
<executions>
<execution>
<id>gitsite-deploy</id>
<phase>site-deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<inputDirectory>${project.reporting.outputDirectory}</inputDirectory>
<gitBranch>gh-pages</gitBranch>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 665b9f0

Please sign in to comment.