Skip to content

Commit

Permalink
Check index.html workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smithumble committed Jun 4, 2024
1 parent de9f068 commit bae230e
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 473 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check-index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check index.html

on:
[push,pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Build index.html
run: |
python index_build.py
- name: Check index.html changes
run: |
(set -e; [[ $(git diff) ]] && { git diff; exit 1; } || exit 0)
Loading

0 comments on commit bae230e

Please sign in to comment.