Files
mitm-webserver/.gitea/workflows/build.yaml
malmert ea9d79f671
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 16s
refactor: migrate from MUI to Ant Design for layout and components
- Updated package.json to remove MUI dependencies and add Ant Design.
- Refactored App component to use Ant Design's Layout, Header, Footer, and Sidebar.
- Created new Footer, Header, and Sidebar components using Ant Design.
- Removed old Header component that used MUI.
- Updated Home component to use Ant Design's Typography and Button.
- Added global styles in index.less and theme styles in theme.less and layout.less.
- Removed MUI theme configuration and replaced it with Ant Design's theming.
2025-11-22 19:49:02 +01:00

32 lines
642 B
YAML

name: Build and Deploy MITM Webserver
on:
push:
branches:
- main # oder der Branch, den du automatisch bauen willst
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Frontend
run: |
cd frontend
npm install
npm run build
- name: Setup Backend
run: |
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
deactivate
- name: Restart Backend
run: |
sudo systemctl restart mitm-backend