pass build args for Vite

This commit is contained in:
2026-07-13 20:40:18 +02:00
parent 7994f79e02
commit f4ff9d8c68
2 changed files with 20 additions and 0 deletions
+6
View File
@@ -32,6 +32,12 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
VITE_API_BASE_URL="https://api.chess-scribe.org/api/v1"
VITE_MATOMO_URL="https://analytics.owenrees.eu"
VITE_MATOMO_SITE_ID="3"
VITE_MAINTENANCE_MODE="true"
VITE_MAINTENANCE_MODE_MESSAGE="ChessScribe is currently undergoing maintenance. Some features may be unavailable."
deploy:
needs: publish