Skip to content

Commit

Permalink
Set up Git user for GitHub Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Precious-Macaulay committed Oct 18, 2024
1 parent 13b070e commit eeb063b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ jobs:
- name: Build project
run: npm run build

# Set up Git user
- name: Set up Git user
run: |
git config --global user.name "Macaulay Precious"
git config --global user.email "preciousmacaulay001@gmail.com"
# Deploy to GitHub Pages
- name: Deploy to GitHub Pages
run: npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically provide this secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eeb063b

Please sign in to comment.