Skip to content

Commit

Permalink
Githubaction (#17)
Browse files Browse the repository at this point in the history
* patch github action & remove github plugin
  • Loading branch information
kanedafromparis authored Nov 25, 2022
1 parent 01cd7f2 commit 0b26dd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 43 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: checkout
uses: actions/[email protected]

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v3.6.0
with:
java-version: 17
distribution: 'temurin'

- name: Build with Maven
run: mvn -B site --file pom.xml
Expand Down
42 changes: 1 addition & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,44 +65,4 @@
</plugin>
</plugins>
</build>

<profiles>

<profile>
<id>deploy</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>deploy</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<!-- https://github.com/github/maven-plugins/issues/100 -->
<configuration>
<message>Creating site for ${project.version}</message>
<!-- userName>parisjug-ci</userName -->
<repositoryOwner>parisjug</repositoryOwner>
<repositoryName>jchateau-site</repositoryName>
<!-- path>site</path>-->
<!-- -->
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>
</project>

0 comments on commit 0b26dd1

Please sign in to comment.