Skip to content

Commit 6aad95c

Browse files
add workflow
1 parent 39bb567 commit 6aad95c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/lines-of-code.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Lines of code
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
loc-badge:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: shadowmoose/GHA-LoC-Badge@1.0.0
13+
with:
14+
debug: true
15+
directory: .
16+
badge: output/loc-badge.svg
17+
- uses: JamesIves/github-pages-deploy-action@v4.7.2
18+
with:
19+
branch: gh-pages
20+
folder: output
21+
clean: false
22+
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)