davideisinger.com

My personal website
Log | Files | Refs | README

commit 90e283af6c005404f4f41bda8d1f7e8a853f8c01
parent 0669cd273b14358a58f8000208875c547b690e0a
Author: David Eisinger <[email protected]>
Date:   Tue, 13 Feb 2024 20:59:15 -0500

Add CI caching

Diffstat:
M.github/workflows/deploy.yml | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -35,8 +35,15 @@ jobs: KEY: ${{ github.workspace }}/secret.key run: cd bin/dither && bundle exec ruby dither.rb >> dither.log 2>&1 & + - name: Cache Hugo build + uses: actions/cache@v3 + with: + path: ${{ github.workspace }}/.cache + key: ${{ runner.os }}-hugo_cache + - name: Generate static site env: + HUGO_CACHEDIR: ${{ github.workspace}}/.cache DITHER_SERVER: http://localhost:4567 run: | source bin/get-last-commit.sh