From cac1a70eda4d52629e8ae0cf68e28f26e820d8ed Mon Sep 17 00:00:00 2001 From: Magnus Smari Smarason Date: Sat, 17 May 2025 22:02:00 +0000 Subject: [PATCH] Fix: Update gh-pages command in deployment workflow --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8bfc611..8275e84 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,6 +23,6 @@ jobs: run: npm ci - name: Deploy to GitHub Pages - run: npm run deploy + run: npx gh-pages -d dist --repo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" --user "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # gh-pages needs this to push \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensures token is available if gh-pages or git commands need it directly \ No newline at end of file