diff --git a/.github/workflows/01-ci.yml b/.github/workflows/01-ci.yml index 8206db43..a081d4ed 100644 --- a/.github/workflows/01-ci.yml +++ b/.github/workflows/01-ci.yml @@ -1,13 +1,14 @@ name: 01 - CI on: - # Trigger the workflow on push to main branch + + workflow_dispatch: push: branches: - main - - # Manual trigger for the workflow - workflow_dispatch: + pull_request: + branches: + - main jobs: @@ -144,14 +145,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Login to Azure - uses: azure/login@v2 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - - name: Login to Azure Container Registry run: | - az acr login --name ${{ vars.ACR_NAME }} + echo "${{ secrets.ACR_PASSWORD }}" | docker login ${{ vars.ACR_LOGIN_SERVER }} -u ${{ secrets.ACR_USERNAME }} --password-stdin - name: Build Docker image run: | diff --git a/frontend/src/components/Header.jsx b/frontend/src/components/Header.jsx index d1a76071..02b5a464 100644 --- a/frontend/src/components/Header.jsx +++ b/frontend/src/components/Header.jsx @@ -33,6 +33,7 @@ const Header = () => { ml: `${drawerWidth}px`, zIndex: (theme) => theme.zIndex.drawer + 1, + backgroundColor: "#2e7d32", }} > @@ -43,7 +44,7 @@ const Header = () => { fontWeight: 600, }} > - KoalaTech University + KoalaTech University — Live Deploy v2