Skip to content

Commit

Permalink
Merge pull request #6 from MikhailEpatko/emi/i4-add-shellcheck
Browse files Browse the repository at this point in the history
#4 Added Shellcheck job
  • Loading branch information
MikhailEpatko committed Mar 5, 2024
2 parents 88002e5 + 3c7b024 commit bc30503
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
@@ -1,22 +1,26 @@
on: [push]

jobs:
hits_counter_job:
runs-on: ubuntu-latest
name: A job to count hits of code

shellcheck:
name: Shellcheck
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@master

hits_counter_job:
name: Generate and deploy HoC-badge
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- id: badge-generator
uses: ./
- uses: ./
with:
dir: .
since: 2000-01-01
output_dir: ./output
filename: hits.svg

- name: Deploy to image-data branch
uses: peaceiris/actions-gh-pages@v3.9.3
- uses: peaceiris/actions-gh-pages@v3.9.3
with:
publish_dir: ./output
publish_branch: image-data
Expand Down

0 comments on commit bc30503

Please sign in to comment.