Skip to content

Commit 6cc89e2

Browse files
authored
Update deploy.yml
1 parent e7e39d9 commit 6cc89e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
with:
1717
ref: main # Ensure you're deploying from the correct branch (main)
1818

19-
# Deploy to GitHub Pages
19+
# Set up the GitHub Pages deploy action
2020
- name: Deploy to GitHub Pages
2121
uses: JamesIves/github-pages-deploy-action@v4 # Using the latest stable version
2222
with:
2323
branch: gh-pages # The branch where the content will be deployed (default is gh-pages)
2424
folder: src # The folder to deploy (in your case, it's 'src')
25-
token: ${{ secrets.GITHUB_TOKEN }} # Automatically used token for authentication
25+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Use the PAT stored in GitHub secrets

0 commit comments

Comments
 (0)