diff --git a/.github/workflows/loc-badge.yml b/.github/workflows/loc-badge.yml new file mode 100644 index 0000000000..3e895bc309 --- /dev/null +++ b/.github/workflows/loc-badge.yml @@ -0,0 +1,24 @@ +--- +name: loc-badge +on: + push: + branches: + - master +concurrency: + group: loc-badge-${{ github.ref }} + cancel-in-progress: true +jobs: + codecov: + runs-on: ubuntu-22.04 + steps: + - uses: shadowmoose/GHA-LoC-Badge@1.0.0 + with: + debug: true + directory: ./ + badge: ./target/loc-badge.svg + - uses: JamesIves/github-pages-deploy-action@v4.5.0 + with: + branch: gh-pages + folder: target + clean: false + if: github.ref == 'refs/heads/master'