Maps: MAPBOX_TOKEN (secret) and MAPBOX_STYLE (variable), both optional

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-07 17:50:33 +01:00
1 parent 371f84a9e5
commit 1ea4ad7b03
2 files changed
+8

No files matched your search

+6
View File
@@ -59,6 +59,10 @@ jobs:
GARAGE_SECRET_KEY: ${{ secrets.GARAGE_SECRET_KEY }} GARAGE_SECRET_KEY: ${{ secrets.GARAGE_SECRET_KEY }}
SEED_ADMIN_EMAIL: ${{ secrets.SEED_ADMIN_EMAIL }} SEED_ADMIN_EMAIL: ${{ secrets.SEED_ADMIN_EMAIL }}
SEED_ADMIN_NAME: ${{ secrets.SEED_ADMIN_NAME }} SEED_ADMIN_NAME: ${{ secrets.SEED_ADMIN_NAME }}
# Optional: unset, maps are off (the landing hero is empty, a
# location field is two numbers).
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
MAPBOX_STYLE: ${{ vars.MAPBOX_STYLE }}
steps: steps:
# A missing value stops here, by name, before anything on the host # A missing value stops here, by name, before anything on the host
# is touched. Only names are printed: the log is public. # is touched. Only names are printed: the log is public.
@@ -109,6 +113,8 @@ jobs:
GARAGE_ACCESS_KEY=$GARAGE_ACCESS_KEY GARAGE_ACCESS_KEY=$GARAGE_ACCESS_KEY
GARAGE_SECRET_KEY=$GARAGE_SECRET_KEY GARAGE_SECRET_KEY=$GARAGE_SECRET_KEY
GARAGE_UPLOADS_BUCKET=$GARAGE_UPLOADS_BUCKET GARAGE_UPLOADS_BUCKET=$GARAGE_UPLOADS_BUCKET
MAPBOX_TOKEN=$MAPBOX_TOKEN
MAPBOX_STYLE=$MAPBOX_STYLE
EOF EOF
# NATS itself (nats.conf reads NATS_PASSWORD), gdo and the chat. # NATS itself (nats.conf reads NATS_PASSWORD), gdo and the chat.
cat > "$STAGE/nats.env" <<EOF cat > "$STAGE/nats.env" <<EOF
+2
View File
@@ -160,6 +160,8 @@ Run workflow**. Set them with `gt` (`gt variable set NAME --body ...`,
| `GARAGE_ACCESS_KEY`, `GARAGE_SECRET_KEY` | secret | repo | uploads | | `GARAGE_ACCESS_KEY`, `GARAGE_SECRET_KEY` | secret | repo | uploads |
| `SEED_ADMIN_EMAIL`, `SEED_ADMIN_NAME` | secret | repo | the first person in; an address, so not a variable | | `SEED_ADMIN_EMAIL`, `SEED_ADMIN_NAME` | secret | repo | the first person in; an address, so not a variable |
| `CLOUDFLARE_API_TOKEN` | secret | repo | DNS edit for tomtervel.no only (`dns/`) | | `CLOUDFLARE_API_TOKEN` | secret | repo | DNS edit for tomtervel.no only (`dns/`) |
| `MAPBOX_TOKEN` | secret | repo | optional: the map tiles portal proxies (the landing hero, location fields); unset, maps are off |
| `MAPBOX_STYLE` | variable | repo | optional: `<owner>/<style>`; unset, `mapbox/streets-v12` |
| `DNSCONTROL_VERSION` | variable | repo | the DNS workflow's dnscontrol | | `DNSCONTROL_VERSION` | variable | repo | the DNS workflow's dnscontrol |
A variable is printed wherever a workflow echoes it, and this repo's run A variable is printed wherever a workflow echoes it, and this repo's run