From 20b7efc9970bdeba657e8a226c98cb29e3cd4af9 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Fri, 12 Apr 2024 14:48:14 +0900 Subject: [PATCH] Update workflow for deployment to GitHub Pages Will hopefully remove the need to convert images more than once. --- .github/workflows/gh-pages.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c74a7f4..b98a585 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,9 +8,11 @@ jobs: gh-pages: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: - fetch-depth: 0 + ref: 'github-pages' + path: './_site' - name: Setup Ubuntu dependencies run: sudo apt install -y libvips - name: Setup Ruby