File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 7
7
branches : [main]
8
8
9
9
permissions :
10
- contents : write
10
+ contents : write
11
11
12
12
jobs :
13
13
build-and-deploy :
@@ -23,24 +23,22 @@ jobs:
23
23
node-version : 18
24
24
25
25
- name : Install dependencies
26
- run : npm ci
26
+ run : npm install
27
27
28
28
- name : Run tests
29
29
run : npm test --if-present
30
30
31
31
- name : Build the project
32
32
run : npm run build
33
33
34
- # Configure Git identity
35
34
- name : Configure Git
36
35
run : |
37
36
git config --global user.name "karthiknvd"
38
37
git config --global user.email "nvdkarthik2005@gmail.com"
39
38
40
- # Deploy to GitHub Pages
41
39
- name : Deploy to GitHub Pages
42
40
env :
43
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
42
run : |
45
43
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git
46
- npm run deploy
44
+ npm run deploy
You can’t perform that action at this time.
0 commit comments