Skip to content

Update README.md

Update README.md #286

Workflow file for this run

name: Run Line Count
on:
push:
branches: [ main ]
jobs:
count:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Make Code Badge
uses: shadowmoose/[email protected]
id: badge
with:
debug: true
directory: ./
badge: ./output/count-badge.svg
badge_label: Lines
ignore: '**/*.png'
- name: Print the output
run: |
echo "Scanned: ${{ steps.badge.outputs.counted_files }}";
echo "Line Count: ${{ steps.badge.outputs.total_lines }}";
- name: Deploy to image-data branch
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./output
publish_branch: images-branch
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'