diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 79ca268..d226763 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -17,7 +17,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- dotnet-quality: 'preview'
+ dotnet-quality: "preview"
- name: Install .NET WebAssembly Tools
run: dotnet workload install wasm-tools
@@ -25,10 +25,14 @@ jobs:
- name: Publish
run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net8.0
+ # Fix the Content Security Policy (CSP)
+ - name: Fix CSP
+ run: sed -i "s|||" ./public/wwwroot/index.html
+
# Deploy the site
- name: Deploy
- uses: peaceiris/actions-gh-pages@v3
+ uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
- force_orphan: true
\ No newline at end of file
+ force_orphan: true
diff --git a/SampleSites/Client/wwwroot/index.html b/SampleSites/Client/wwwroot/index.html
index 68300a4..a4dd0f1 100644
--- a/SampleSites/Client/wwwroot/index.html
+++ b/SampleSites/Client/wwwroot/index.html
@@ -12,7 +12,7 @@
-
+