diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 7a0ce76..5b160b1 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -15,9 +15,16 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.x' + - name: Cache pip dependencies + uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- - name: Install dependencies run: | - pip install pelican markdown + pip install -r requirements.txt - name: Generate static HTML run: pelican content -s publishconf.py - name: Ensure CNAME file diff --git a/__pycache__/pelicanconf.cpython-312.pyc b/__pycache__/pelicanconf.cpython-312.pyc index 37642a3..7d39f78 100644 Binary files a/__pycache__/pelicanconf.cpython-312.pyc and b/__pycache__/pelicanconf.cpython-312.pyc differ diff --git a/__pycache__/publishconf.cpython-312.pyc b/__pycache__/publishconf.cpython-312.pyc index 7d5e9a6..3a63f50 100644 Binary files a/__pycache__/publishconf.cpython-312.pyc and b/__pycache__/publishconf.cpython-312.pyc differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6207c65 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pelican +Markdown