Skip to content

Commit

Permalink
Merge pull request #757 from NASA-PDS/ci-docs
Browse files Browse the repository at this point in the history
Makes sure website gets published
  • Loading branch information
jordanpadams committed Apr 17, 2024
2 parents f68b385 + 0821c33 commit 035698e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/stable-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
maven-build-phases: install
maven-doc-phases: clean,site,site:stage
maven-stable-artifact-phases: clean,site,site:stage,deploy
documentation-dir: target/staging/model
env:
ossrh_username: ${{secrets.OSSRH_USERNAME}}
ossrh_password: ${{secrets.OSSRH_PASSWORD}}
Expand Down
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,19 @@ POSSIBILITY OF SUCH DAMAGE.
<developerConnection>scm:git:ssh://git@github.com/NASA-PDS/pds4-information-model.git</developerConnection>
</scm>

<!-- Override maven-site-plugin from parent which turns site generation off; we want it on -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<skip>false</skip> <!-- This is `true` in parent pom -->
<skipDeploy>false</skipDeploy> <!-- This is `true` in parent pom -->
</configuration>
</plugin>
</plugins>
</build>

<repositories />
<distributionManagement />
Expand Down

0 comments on commit 035698e

Please sign in to comment.