Merge pull request #279 from velgush/patch-45 #188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |