From 55b9867200b75b7334a8eef65a16c327fe966f9c Mon Sep 17 00:00:00 2001 From: 8ctopus Date: Tue, 14 May 2024 11:13:58 +0400 Subject: [PATCH] Fix github action badge --- .github/workflows/badges.yml | 18 +++++++++--------- src/Tax.php | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/badges.yml b/.github/workflows/badges.yml index 5aebf69..4d40a98 100644 --- a/.github/workflows/badges.yml +++ b/.github/workflows/badges.yml @@ -38,15 +38,6 @@ jobs: coverage_badge_path: .github/coverage.svg push_badge: false - - name: Git push badges to image-data branch - uses: peaceiris/actions-gh-pages@v3 - with: - publish_dir: .github - publish_branch: image-data - github_token: ${{ secrets.GITHUB_TOKEN }} - user_name: 'github-actions[bot]' - user_email: 'github-actions[bot]@users.noreply.github.com' - - name: Get lines of code (more sophisticated, uses scc) id: scc uses: hdmsantander/scc-docker-action@3.0 @@ -64,3 +55,12 @@ jobs: status: ${{ steps.parse_scc.outputs.loc }} color: 'blue' path: .github/lines.svg + + - name: Git push badges to image-data branch + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: .github + publish_branch: image-data + github_token: ${{ secrets.GITHUB_TOKEN }} + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com' diff --git a/src/Tax.php b/src/Tax.php index 1986913..9e26cd0 100644 --- a/src/Tax.php +++ b/src/Tax.php @@ -37,4 +37,3 @@ public function setPercentage(float $percentage) : self return $this; } } -