From fbb2ad8a573549310650db3c20c051ce3c536b6c Mon Sep 17 00:00:00 2001 From: Michele Tartari <37861893+m-tartari@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:44:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20chore(deploy):=20fix=20unaccessi?= =?UTF-8?q?ble=20direct=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit copy index.html to 404.html --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dae0c42..9ce1f4f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,6 +39,9 @@ jobs: run: npm install - name: Build run: npm run build + - 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 - name: Upload artifact