Skip to content

Commit fa51315

Browse files
committed
Fixes
1 parent b4162a1 commit fa51315

File tree

4 files changed

+27
-25
lines changed

4 files changed

+27
-25
lines changed

.github/workflows/azure-static-web-apps-yellow-pebble-00b57ea00.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
name: Build and Deploy Job
1717
permissions:
18-
id-token: write
19-
contents: read
18+
id-token: write
19+
contents: read
2020
steps:
2121
- uses: actions/checkout@v3
2222
with:
@@ -28,10 +28,10 @@ jobs:
2828
uses: actions/github-script@v6
2929
id: idtoken
3030
with:
31-
script: |
32-
const coredemo = require('@actions/core')
33-
return await coredemo.getIDToken()
34-
result-encoding: string
31+
script: |
32+
const coredemo = require('@actions/core')
33+
return await coredemo.getIDToken()
34+
result-encoding: string
3535
- name: Build And Deploy
3636
id: builddeploy
3737
uses: Azure/static-web-apps-deploy@v1
@@ -42,7 +42,7 @@ jobs:
4242
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
4343
app_location: "/" # App source code path
4444
api_location: "" # Api source code path - optional
45-
output_location: "" # Built app content directory - optional
45+
output_location: "dist" # Built app content directory - optional
4646
github_id_token: ${{ steps.idtoken.outputs.result }}
4747
###### End of Repository/Build Configurations ######
4848

astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import react from "@astrojs/react";
55

66
// https://astro.build/config
77
export default defineConfig({
8-
site: "https://jenishms.github.io",
8+
output: "static",
9+
site: "https://jenishms.in",
10+
build: {
11+
outDir: "dist",
12+
},
913
integrations: [tailwind(), react()],
1014
});

public/sitemap.xml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<urlset
4-
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
5-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6-
xmlns:xhtml="http://www.w3.org/1999/xhtml"
7-
xsi:schemaLocation="
3+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="
86
http://www.sitemaps.org/schemas/sitemap/0.9
97
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
10-
<!-- created with PRO Sitemap Service https://pro-sitemaps.com -->
8+
<!-- created with PRO Sitemap Service https://pro-sitemaps.com -->
119

1210
<url>
13-
<loc>https://jenishms.github.io/</loc>
14-
<lastmod>2022-01-31T16:22:28+00:00</lastmod>
15-
<changefreq>daily</changefreq>
16-
<priority>1.0000</priority>
11+
<loc>https://jenishms.in/</loc>
12+
<lastmod>2022-01-31T16:22:28+00:00</lastmod>
13+
<changefreq>daily</changefreq>
14+
<priority>1.0000</priority>
1715
</url>
1816
</urlset>

src/layouts/Layout.astro

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const { title } = Astro.props;
5050

5151
<!-- Open Graph / Facebook -->
5252
<meta property="og:type" content="website" />
53-
<meta property="og:url" content="https://jenishms.github.io/" />
53+
<meta property="og:url" content="https://jenishms.in/" />
5454
<meta
5555
property="og:title"
5656
content="Jenish MS | Senior Software Engineer | Jenish MS Freelancer"
@@ -61,12 +61,12 @@ const { title } = Astro.props;
6161
/>
6262
<meta
6363
property="og:image"
64-
content="https://jenishms.github.io/images/Jenish MS.jpg"
64+
content="https://jenishms.in/images/Jenish MS.jpg"
6565
/>
6666

6767
<!-- Twitter -->
6868
<meta property="twitter:card" content="summary_large_image" />
69-
<meta property="twitter:url" content="https://jenishms.github.io/" />
69+
<meta property="twitter:url" content="https://jenishms.in/" />
7070
<meta
7171
property="twitter:title"
7272
content="Jenish MS | Senior Software Engineer | MS Freelancer"
@@ -77,7 +77,7 @@ const { title } = Astro.props;
7777
/>
7878
<meta
7979
property="twitter:image"
80-
content="https://jenishms.github.io/images/Jenish MS.jpg"
80+
content="https://jenishms.in/images/Jenish MS.jpg"
8181
/>
8282

8383
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
@@ -122,8 +122,8 @@ const { title } = Astro.props;
122122
"@type": "Person",
123123
"name": "Jenish MS",
124124
"alternateName": "Jenish M S",
125-
"url": "https://jenishms.github.io",
126-
"image": "https://jenishms.github.io/Jenish%20MS.png",
125+
"url": "https://jenishms.in",
126+
"image": "https://jenishms.in/Jenish%20MS.png",
127127
"jobTitle": "Senior Software Engineer",
128128
"worksFor": {
129129
"@type": "Organization",
@@ -143,7 +143,7 @@ const { title } = Astro.props;
143143
"@context": "https://schema.org",
144144
"@type": "WebSite",
145145
"name": "Jenish MS",
146-
"url": "https://jenishms.github.io"
146+
"url": "https://jenishms.in"
147147
}
148148
</script>
149149
</head>

0 commit comments

Comments
 (0)