Skip to content

Commit

Permalink
Merge branch 'main' into feature/kamal-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric authored Nov 26, 2024
2 parents 8744b81 + a5eb836 commit fecc5d5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ jobs:
with:
node-version: 22

- name: Install npm dependencies
if: steps.check_client.outputs.client_exists == 'true'
working-directory: ./MyApp.Client
run: npm install

- name: Install x tool
run: dotnet tool install -g x

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
workflows: ["Build Container"]
types:
- completed
branches:
- main
- master
workflow_dispatch:

env:
Expand Down Expand Up @@ -68,7 +71,7 @@ jobs:
bundler-cache: true

- name: Install Kamal
run: gem install kamal -v 2.2.2
run: gem install kamal -v 2.3.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 1 addition & 1 deletion MyApp/Configure.AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public void Configure(IWebHostBuilder builder) => builder
public override void Configure()
{
SetConfig(new HostConfig {
IgnorePathInfoPrefixes = { "/appsettings", "/_framework" },
IgnorePathInfoPrefixes = { "/appsettings", "/_framework" }
});
}
}
1 change: 1 addition & 0 deletions MyApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using MyApp.Data;
using ServiceStack.Blazor;
using System.Net;
using Microsoft.AspNetCore.HttpOverrides;
using MyApp.ServiceInterface;

var builder = WebApplication.CreateBuilder(args);
Expand Down
3 changes: 2 additions & 1 deletion MyApp/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"AppConfig": {
"LocalBaseUrl": "https://localhost:5001",
"PublicBaseUrl": "https://blazor-wasm.web-templates.io"
}
},
"ApiBaseUrl": "https://blazor-wasm.web-templates.io"
}
1 change: 1 addition & 0 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ servers:
proxy:
ssl: true
host: my-app.example.com
forward_headers: true
# kamal-proxy connects to your container over port 80, use `app_port` to specify a different port.
app_port: 8080

Expand Down

0 comments on commit fecc5d5

Please sign in to comment.