Skip to content

Commit

Permalink
fix: Rename default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopacheco1 committed Jan 30, 2024
1 parent 3fac0c6 commit 81df865
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish and Deploy main

on:
push:
branches: ['user-portal-main']
branches: ['main']
workflow_dispatch:

env:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: "${{ env.IMAGE_NAME }}:user-portal-main"
image-ref: "${{ env.IMAGE_NAME }}:main"
format: "table"
exit-code: "1"
ignore-unfixed: true
Expand Down Expand Up @@ -97,4 +97,4 @@ jobs:
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: '${{ env.IMAGE_NAME }}:user-portal-main'
images: '${{ env.IMAGE_NAME }}:main'

0 comments on commit 81df865

Please sign in to comment.