Skip to content

Commit

Permalink
Fixes issue piranhacloud#3445 - Add publishing of Maven plugin docume…
Browse files Browse the repository at this point in the history
…ntation to build workflow
  • Loading branch information
mnriem committed Jun 19, 2023
1 parent ae6a9b4 commit f540469
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,14 @@ jobs:
maven-plugin-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
- name: Checkout Piranha
uses: actions/checkout@v3
- name: Checkout Piranha Website
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_PASSWORD }}
repository: piranha-cloud/piranha-website
token: ${{ secrets.GIT_PASSWORD }}
path: piranha-website
- name: Set up Java
uses: actions/setup-java@v3
with:
Expand All @@ -207,7 +211,6 @@ jobs:
cd maven/plugins/piranha-maven-plugin
mvn -B -DskipTests -DskipITs -ntp site
cd ../../..
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@github.com/piranhacloud/piranha-website
rm -rf piranha-website/maven/piranha-maven-plugin || true
mkdir -p piranha-website/maven/piranha-maven-plugin || true
cp -R maven/plugins/piranha-maven-plugin/target/site/* piranha-website/maven/piranha-maven-plugin/
Expand Down

0 comments on commit f540469

Please sign in to comment.