From a3c062e84cdda3d06b1a525eb66d316718dba9c2 Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Wed, 17 Apr 2024 12:19:35 +0100 Subject: [PATCH] Update GitHub actions versions (#271) This avoids a bunch of deprecation warnings: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: --- docs/hosting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/hosting.md b/docs/hosting.md index 9953a6c5..e249552f 100644 --- a/docs/hosting.md +++ b/docs/hosting.md @@ -43,15 +43,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: Install dependencies run: npm ci - name: Build with Eleventy run: npm run-script build - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 deploy: environment: @@ -62,7 +62,7 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 ``` Then, in your repository’s settings, under ‘Pages’, set ‘Source’ to ‘GitHub Actions’.