Skip to content

Commit 1c89900

Browse files
committed
temp run
1 parent 1b12aaf commit 1c89900

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
path: TestResults/Merged/SummaryGithub.md
7575

7676
- name: Log in to GHCR
77-
if: ${{ github.event_name == 'push' }}
77+
#if: ${{ github.event_name == 'push' }}
7878
uses: docker/login-action@v4
7979
with:
8080
registry: ghcr.io
@@ -103,20 +103,20 @@ jobs:
103103
context: .
104104
file: src/SchoolAccount.Web.Mvc/Dockerfile
105105
target: final
106-
push: ${{ github.ref == env.MAIN_BRANCH }}
106+
push: true
107107
tags: ${{ steps.meta.outputs.tags }}
108108

109109
- name: Publish
110110
run: dotnet publish ${{ env.WEB_SOLUTION_FILE }} --configuration Release --no-restore --no-build
111111

112112
- name: Azure Login
113-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
113+
#if: github.event_name == 'push' && github.ref == 'refs/heads/main'
114114
uses: azure/login@v2
115115
with:
116116
creds: ${{ secrets.AZURE_CREDENTIALS }}
117117

118118
- name: Update ACA Image
119-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
119+
#if: github.event_name == 'push' && github.ref == 'refs/heads/main'
120120
run: |
121121
az containerapp update \
122122
--name schoolaccount-web-app \

0 commit comments

Comments
 (0)