File tree 2 files changed +9
-4
lines changed 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,18 @@ jobs:
39
39
- name : Check if www folder exists
40
40
run : |
41
41
ls -la www
42
-
42
+
43
+ - name : Check if there are changes
44
+ run : |
45
+ git diff --exit-code || echo "There are changes to commit"
46
+
43
47
- name : Deploy to GitHub Pages
44
48
env :
45
49
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
50
run : |
47
- git config --global user.name "github-actions[bot]"
48
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
51
+ git config --global user.name "sanjeetkumaritoutlook"
52
+ git config --global user.email "sanjeetkumarit@outlook.com"
53
+ git remote set-url origin https://github.com/sanjeetkumaritoutlook/sanjeetkumaritoutlook.github.io.git
49
54
git add .
50
55
git commit -m "Deploy to GitHub Pages"
51
56
git push origin `git subtree split --prefix www main`:gh-pages --force
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class AppHeader {
17
17
return (
18
18
< div >
19
19
< header >
20
- < h1 > Sanjeet Stencil App</ h1 >
20
+ < h1 > Sanjeet Stencil Web App</ h1 >
21
21
</ header >
22
22
{ /* <div>
23
23
{this.data.map(item => (
You can’t perform that action at this time.
0 commit comments