From c3543187d66c78ace78cac7bc60d6f5cbce5d3b0 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Tue, 21 Apr 2026 18:35:36 +0300 Subject: [PATCH] ci: replace built-in pages workflow with Node.js 24-compatible actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add custom Jekyll deploy workflow using action versions that run on Node.js 24, replacing the GitHub-managed pages-build-deployment workflow which used deprecated Node.js 20 actions. Action versions updated: - actions/checkout: v4 → v6.0.2 (node24) - actions/configure-pages: → v6.0.0 - actions/jekyll-build-pages: v1.0.13 (unchanged) - actions/upload-pages-artifact: → v5.0.0 - actions/deploy-pages: → v5.0.0 Resolves Node.js 20 deprecation warning on pages build and deployment. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/pages.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 00000000..4e0aece0 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,37 @@ +name: Deploy Jekyll site to Pages +permissions: + contents: read + pages: write + id-token: write +on: + push: + branches: ["main"] + workflow_dispatch: +concurrency: + group: "pages" + cancel-in-progress: false +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Setup Pages + uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13 + with: + source: ./ + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0