Fix: Correct --user format for gh-pages

This commit is contained in:
Magnus Smari Smarason
2025-05-17 22:03:32 +00:00
parent cac1a70eda
commit e41c77a48b

View File

@ -23,6 +23,6 @@ jobs:
run: npm ci run: npm ci
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
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>" run: npx gh-pages -d dist --repo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" --user "GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensures token is available if gh-pages or git commands need it directly GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensures token is available if gh-pages or git commands need it directly