diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-deploy-gh-pages.yml similarity index 80% rename from .github/workflows/jekyll-gh-pages.yml rename to .github/workflows/jekyll-deploy-gh-pages.yml index fbf142c..0a6c61e 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-deploy-gh-pages.yml @@ -1,5 +1,5 @@ # Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled +name: Deploy Jekyll and upload GitHub Pages on: # Runs on pushes targeting the default branch @@ -30,23 +30,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Cached checkout - uses: nschloe/action-cached-lfs-checkout@v1 - # Use these to explicitly include/exclude files: - # with: - # include: "*" - # exclude: "" + uses: netz39/action-cached-lfs-checkout@main + - name: Build the site in the jekyll/builder container run: | docker run \ -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" - - name: Install packages - continue-on-error: true - run: | - docker pull sylhare/type-on-strap - docker pull sylhare/jekyll - - name: "Upload artifact" uses: actions/upload-pages-artifact@v3 with: