From 4cbf92ab9e8941e94bf26ea281f8a9b3fe00ddda Mon Sep 17 00:00:00 2001 From: Antoine Lethimonnier <43064022+WarningImHack3r@users.noreply.github.com> Date: Sat, 12 Aug 2023 01:16:18 +0200 Subject: [PATCH] Fix compatibility with GH pages --- .github/workflows/pages-deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index e9c52d7f..a4a4e673 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -182,13 +182,15 @@ jobs: run: pnpm i # no need for `--no-frozen-lockfile` here, as the sync is ensured by the `prechecks` job - name: 🔨 Build repo - run: pnpm build + run: | + pnpm build + touch build/.nojekyll - name: 📤 Upload artifact if: github.event_name == 'push' uses: actions/upload-pages-artifact@v2 with: - path: ./build + path: build deploy: name: Deploy website to GitHub Pages