Skip to content

Commit

Permalink
Update build-site.yml
Browse files Browse the repository at this point in the history
include check for unhighlighted code
  • Loading branch information
KommuSoft authored Oct 14, 2024
1 parent 0c50f07 commit 8c2637f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,20 @@ jobs:
uses: actions/checkout@v2.3.1
- name: look for todos
run: "! grep -i -P '<pre\\s*>|TODO|[?]{3,}' */*.md"

linux3:
name: Look for code not highlighted
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2.3.1
- name: look for todos
run: "! grep -Pz '\n\n```\n' */*.md"

linux4:
name: Deploy website
runs-on: ubuntu-latest
needs: [linux1, linux2]
needs: [linux1, linux2, linux3]
if: github.ref == 'refs/heads/master'
steps:
- name: update package database
Expand Down

0 comments on commit 8c2637f

Please sign in to comment.