From 339de6f6fa9a1760ed8e51929d9187e4c61b5f07 Mon Sep 17 00:00:00 2001 From: Michele Tartari <37861893+m-tartari@users.noreply.github.com> Date: Fri, 21 Feb 2025 10:55:19 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20chore(CI):=20update=20gh-a?= =?UTF-8?q?ctions=20deployment=20deps=20(#387)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this bumps: - actions/configure-pages: v3 -> v5 - actions/upload-pages-artifact: v2 -> v3 - actions/deploy-pages: v2 -> v4 --- .github/workflows/deploy.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4ff7ecc..bbac26b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,25 +30,31 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node uses: actions/setup-node@v3 with: node-version: 'lts/*' cache: 'npm' + - name: Install dependencies run: npm ci --omit=dev + - name: Build run: npm run build:prod + - name: Copy index.html to 404.html # see https://stackoverflow.com/a/76148302 run: cp ./dist/index.html ./dist/404.html + - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 + - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: - # Upload dist repository path: './dist' + - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4