diff --git a/.woodpecker/frontend.yml b/.woodpecker/frontend.yml index 3783bc3..a113101 100644 --- a/.woodpecker/frontend.yml +++ b/.woodpecker/frontend.yml @@ -95,9 +95,6 @@ steps: - test-shard-2 - test-shard-3 - test-shard-4 - environment: - VITE_MAPBOX_TOKEN: - from_secret: wrongmove-mapbox-token settings: username: viktorbarzin password: @@ -111,8 +108,10 @@ steps: tag: ["${CI_PIPELINE_NUMBER}", "latest"] cache_from: "viktorbarzin/immoweb:latest" cache_to: "type=inline" - build_args_from_env: - - VITE_MAPBOX_TOKEN + # Mapbox pk.* token — public by design (baked into the bundle, gated + # by Mapbox dashboard domain restrictions, not build-time secrecy). + build_args: + - VITE_MAPBOX_TOKEN=pk.eyJ1IjoidmJhcnppbiIsImEiOiJjbWJ4aXhuM3ExNTdnMmtzMGRsaDNnY29lIn0.WLpUHqpbWKzHjKo1_vTWEQ - name: update-deployment image: alpine