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