Skip to content

Commit 7115f7f

Browse files
Mention project to publish not solution
1 parent fc45147 commit 7115f7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
dotnet-version: 5.0.300
4747

4848
- name: Publish
49-
run: dotnet publish --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
49+
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
5050

5151
- name: Docker build
5252
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:1.0.7 .
@@ -57,7 +57,7 @@ jobs:
5757
docker push docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:1.0.7
5858
5959
dockerhub-deploy:
60-
if: ${{ github.event_name == 'release' }}
60+
#if: ${{ github.event_name == 'release' }}
6161
name: Dockerhub deploy
6262
runs-on: ubuntu-latest
6363
needs: build-test
@@ -75,7 +75,7 @@ jobs:
7575
dotnet-version: 5.0.300
7676

7777
- name: Publish
78-
run: dotnet publish --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
78+
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
7979

8080
- name: Docker build
8181
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t 45862391/httphealthcheckdashboard:1.0.7 .

0 commit comments

Comments
 (0)