-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #4212 - Refactor docs to use Maven site plugin from root project (
- Loading branch information
Showing
67 changed files
with
368 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,35 @@ on: | |
- 'v*' | ||
workflow_dispatch: | ||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Piranha | ||
uses: actions/checkout@v4 | ||
- name: Checkout Piranha Website | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: piranhacloud/piranha-website | ||
token: ${{ secrets.GIT_PASSWORD }} | ||
path: piranha-website | ||
ref: 'gh-pages' | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 21 | ||
- name: Build with Maven | ||
run: | | ||
mvn -B -DskipTests -DskipITs -ntp -T 1 install site | ||
rm -rf piranha-website/snapshot || true | ||
mkdir -p piranha-website/snapshot || true | ||
cp -R target/site/* piranha-website/snapshot/ | ||
cd piranha-website | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Automated publish" | ||
git add . | ||
git commit -a -m "Publishing SNAPSHOT documentation" || true | ||
git push | ||
ghcr: | ||
if: github.repository == 'piranhacloud/piranha' | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<project | ||
xmlns="http://maven.apache.org/DECORATION/1.8.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> | ||
<body> | ||
<menu name="Core Profile"> | ||
<item name="Introduction" href="index.html"/> | ||
<item name="Create a REST service" href="create_a_rest_service.html"/> | ||
<item name="Create a JSON REST service" href="create_a_json_rest_service.html"/> | ||
<item name="Debugging a REST service with NetBeans" href="debugging_a_rest_service_with_netbeans.html"/> | ||
<item name="Debugging a REST service with VSCode" href="debugging_a_rest_service_with_vscode.html"/> | ||
<item name="Testing with JUnit 5 and Arquillian" href="testing_with_junit5_and_arquillian.html"/> | ||
<item name="Using Project CRaC" href="using_project_crac.html"/> | ||
</menu> | ||
</body> | ||
<custom> | ||
<fluidoSkin> | ||
<copyrightClass>pull-right</copyrightClass> | ||
<gitHub> | ||
<projectId>piranhacloud/piranha</projectId> | ||
<ribbonOrientation>left-bottom</ribbonOrientation> | ||
<ribbonColor>black</ribbonColor> | ||
</gitHub> | ||
<twitter> | ||
<user>piranha_cloud</user> | ||
</twitter> | ||
</fluidoSkin> | ||
</custom> | ||
<poweredBy> | ||
<logo/> | ||
</poweredBy> | ||
<publishDate position="right"/> | ||
<skin> | ||
<groupId>org.apache.maven.skins</groupId> | ||
<artifactId>maven-fluido-skin</artifactId> | ||
<version>2.0.0</version> | ||
</skin> | ||
<version position="left"/> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.