Skip to content

Commit

Permalink
Fixing publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
predatorray committed Nov 22, 2024
1 parent 80adcaf commit ffce155
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Set Git User Identity
- name: Deploy with gh-pages
run: |
git config --local user.email [email protected]
git config --local user.name bot
- run: npm ci
- run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ffce155

Please sign in to comment.