Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/01-ci.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const Header = () => {
ml: `${drawerWidth}px`,
zIndex: (theme) =>
theme.zIndex.drawer + 1,
backgroundColor: "#2e7d32",
}}
>
<Toolbar>
Expand All @@ -43,7 +44,7 @@ const Header = () => {
fontWeight: 600,
}}
>
KoalaTech University
KoalaTech University — Live Deploy v2
</Typography>

<Box
Expand Down
1 change: 1 addition & 0 deletions student-service/app/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# CI pipeline demonstration - Task 8.1P
import logging
import time
from contextlib import asynccontextmanager
Expand Down