diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 462b6c1..30b6bc8 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -25,10 +25,10 @@ jobs: uses: py-actions/py-dependency-install@v4 with: path: requirements.txt + - name: Build Pygments CSS + run: pygmentize -S default -f html > theme/static/css/pygment.css - name: Build site run: pelican -s publishconf.py - - name: Build Pygments CSS - run: pygmentize -S default -f html > output/theme/css/pygment.css - name: Run tests run: python test.py - name: Setup Pages diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..effb945 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Auto-generated in CI, can be copied here for local testing. +theme/static/css/pygment.css