File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 77 workflows : ["Build"]
88 types :
99 - completed
10+ branches :
11+ - main
12+ - master
1013 workflow_dispatch :
1114
1215env :
@@ -45,10 +48,10 @@ jobs:
4548 run : |
4649 sed -i 's#<ContainerLabel Include="service" Value="my-app" />#<ContainerLabel Include="service" Value="${{ env.repository_name_lower }}" />#g' MyApp/MyApp.csproj
4750
48- - name : Check for Client directory
51+ - name : Check for Client directory and package.json
4952 id : check_client
5053 run : |
51- if [ -d "MyApp.Client" ]; then
54+ if [ -d "MyApp.Client" ] && [ -f "MyApp.Client/package.json" ] ; then
5255 echo "client_exists=true" >> $GITHUB_OUTPUT
5356 else
5457 echo "client_exists=false" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 77 workflows : ["Build Container"]
88 types :
99 - completed
10+ branches :
11+ - main
12+ - master
1013 workflow_dispatch :
1114
1215env :
6871 bundler-cache : true
6972
7073 - name : Install Kamal
71- run : gem install kamal -v 2.2.2
74+ run : gem install kamal -v 2.3.0
7275
7376 - name : Set up Docker Buildx
7477 uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 1616 <ContainerLabel Include =" service" Value =" my-app" />
1717 </ItemGroup >
1818
19+
1920 <ItemGroup >
2021 <Using Include =" MyApp" />
2122 <Using Include =" ServiceStack" />
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ service: my-app
44# Name of the container image.
55image : my-user/myapp
66
7+ # Required for use of ASP.NET Core with Kamal-Proxy.
8+ env :
9+ ASPNETCORE_FORWARDEDHEADERS_ENABLED : true
10+
711# Deploy to these servers.
812servers :
913 # IP address of server, optionally use env variable.
You can’t perform that action at this time.
0 commit comments