Skip to content

Commit 6e2b17c

Browse files
trying with bot github action
1 parent cb50d4e commit 6e2b17c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Checkout code
2727
uses: actions/checkout@v4
2828
- name: Set up Node.js
29-
uses: actions/setup-node@v2
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: '18'
3232

@@ -44,9 +44,8 @@ jobs:
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
run: |
47-
git config --global user.name "sanjeetkumaritoutlook"
48-
git config --global user.email "sanjeetkumarit@outlook.com"
49-
git remote set-url origin https://github.com/sanjeetkumaritoutlook/sanjeetkumaritoutlook.github.io.git
47+
git config --global user.name "github-actions[bot]"
48+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5049
git add .
5150
git commit -m "Deploy to GitHub Pages"
5251
git push origin `git subtree split --prefix www main`:gh-pages --force

0 commit comments

Comments
 (0)