Skip to content

Commit bc3f593

Browse files
use the GITHUB_TOKEN to authenticate the push for correct permissions to push the code due to MFA
1 parent a89a8cf commit bc3f593

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@ jobs:
3535

3636
- name: Build the project
3737
run: npm run build
38-
38+
39+
- name: Check if www folder exists
40+
run: |
41+
ls -la www
42+
3943
- name: Deploy to GitHub Pages
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4046
run: |
4147
git config --global user.name "sanjeetkumaritoutlook"
4248
git config --global user.email "sanjeetkumarit@outlook.com"

0 commit comments

Comments
 (0)