diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..097d292 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,39 @@ +name: Insight-Ink CI/CD + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 18 + + - name: Install dependencies + run: | + cd Frontend + npm install + + - name: Build React app + run: | + cd Frontend + npm run build + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install Python dependencies + run: | + cd Backend + pip install -r requirements.txt \ No newline at end of file diff --git a/Frontend/public/index.html b/Frontend/public/index.html index 5ea5003..c8382a6 100644 --- a/Frontend/public/index.html +++ b/Frontend/public/index.html @@ -1,24 +1,39 @@ - - - - + + + + - - - - - + + + + + - - - - + + + + - +