Skip to content

Commit

Permalink
wiki publishing not working removing
Browse files Browse the repository at this point in the history
  • Loading branch information
davidparry committed Sep 7, 2024
1 parent b86fddc commit 9a713c9
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,3 @@ jobs:
name: code-coverage-report
path: build

- name: Clone Wiki Repository
run: |
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Copy JaCoCo Report to Wiki
run: |
mkdir -p ${{ github.repository }}.wiki/JacocoCoverage
cp -r build/customJacocoReportDir/html/* ${{ github.repository }}.wiki/JacocoCoverage/
- name: Copy Unit Test Report to Wiki
run: |
mkdir -p ${{ github.repository }}.wiki/UnitTests
cp -r cover-agent-plugin/build/reports/tests/test/* ${{ github.repository }}.wiki/UnitTests/
- name: Commit and Push JaCoCo Report to Wiki
run: |
cd ${{ github.repository }}.wiki
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git add JacocoCoverage/
git add UnitTests/
git commit -m "Updated JaCoCo/UnitTests report"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9a713c9

Please sign in to comment.