From 557172ca2370cec27d1131a92317943a0b738a3a Mon Sep 17 00:00:00 2001 From: "nicola@SurfaceLaptop7" Date: Sun, 26 Oct 2025 18:58:19 +0100 Subject: [PATCH 1/2] removed base --- spa/vite.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/spa/vite.config.ts b/spa/vite.config.ts index 887b0b5..0972a48 100644 --- a/spa/vite.config.ts +++ b/spa/vite.config.ts @@ -3,7 +3,6 @@ import { resolve } from 'path' import { defineConfig } from 'vite' export default defineConfig({ - base: "./", plugins: [vue()], resolve: { alias: { From 982f4e41e3760959c534cd8d9f64bc68727a5c94 Mon Sep 17 00:00:00 2001 From: "nicola@SurfaceLaptop7" Date: Sun, 26 Oct 2025 19:00:24 +0100 Subject: [PATCH 2/2] yaml update --- .github/workflows/deploy-spa.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-spa.yml b/.github/workflows/deploy-spa.yml index 7fc8d55..73a9403 100644 --- a/.github/workflows/deploy-spa.yml +++ b/.github/workflows/deploy-spa.yml @@ -12,7 +12,10 @@ on: description: "Branch to deploy" required: true default: "main" - type: string + type: choice + options: + - main + - develop environment: description: "Deployment environment" required: false @@ -20,7 +23,6 @@ on: type: choice options: - develop - - staging - production deploy_reason: description: "Reason for deployment" @@ -33,13 +35,13 @@ jobs: build_and_deploy_job: runs-on: ubuntu-latest name: Build and Deploy Job - environment: ${{ github.event.inputs.environment || 'develop' }} + environment: ${{ github.event.inputs.environment }} steps: - name: "Log deployment details" run: | echo "🚀 SPA deployment triggered" echo "Branch: ${{ github.event.inputs.branch || github.ref_name }}" - echo "Environment: ${{ github.event.inputs.environment || 'develop' }}" + echo "Environment: ${{ github.event.inputs.environment }}" echo "Reason: ${{ github.event.inputs.deploy_reason || 'Manual deployment' }}" echo "Triggered by: ${{ github.actor }}" @@ -67,5 +69,5 @@ jobs: run: | echo "✅ SPA deployment completed successfully" echo "Branch: ${{ github.event.inputs.branch || github.ref_name }}" - echo "Environment: ${{ github.event.inputs.environment || 'develop' }}" + echo "Environment: ${{ github.event.inputs.environment }}" echo "App Location: /spa"