Skip to content

Commit c8d5df8

Browse files
Fix deployment
1 parent 899473c commit c8d5df8

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/deploy-lql-website.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [ main ]
66
paths:
7-
- 'Lql/Website/**'
7+
- 'Lql/**'
88
- '.github/workflows/deploy-lql-website.yml'
99
workflow_dispatch:
1010

@@ -23,44 +23,44 @@ jobs:
2323
name: github-pages
2424
url: ${{ steps.deployment.outputs.page_url }}
2525
runs-on: ubuntu-latest
26-
26+
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30-
30+
3131
- name: Setup .NET
3232
uses: actions/setup-dotnet@v4
3333
with:
3434
dotnet-version: '9.0.x'
35-
35+
3636
- name: Install .NET WebAssembly workload
3737
run: dotnet workload install wasm-tools
38-
38+
3939
- name: Restore dependencies
40-
run: dotnet restore ./Lql/Website/LqlWebsite.csproj
41-
40+
run: dotnet restore ./Lql/LqlWebsite/LqlWebsite.csproj
41+
4242
- name: Build
43-
run: dotnet build ./Lql/Website/LqlWebsite.csproj -c Release --no-restore
44-
43+
run: dotnet build ./Lql/LqlWebsite/LqlWebsite.csproj -c Release --no-restore
44+
4545
- name: Publish Blazor WebAssembly project
46-
run: dotnet publish ./Lql/Website/LqlWebsite.csproj -c Release -o release --nologo
47-
46+
run: dotnet publish ./Lql/LqlWebsite/LqlWebsite.csproj -c Release -o release --nologo
47+
4848
- name: Update base href for custom domain
4949
run: |
5050
sed -i 's/<base href="\/" \/>/<base href="\/" \/>/g' release/wwwroot/index.html
51-
51+
5252
- name: Add .nojekyll file
5353
run: touch release/wwwroot/.nojekyll
54-
55-
54+
55+
5656
- name: Setup Pages
5757
uses: actions/configure-pages@v4
58-
58+
5959
- name: Upload artifact
6060
uses: actions/upload-pages-artifact@v3
6161
with:
6262
path: release/wwwroot
63-
63+
6464
- name: Deploy to GitHub Pages
6565
id: deployment
66-
uses: actions/deploy-pages@v4
66+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)