Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ jobs:
EBS_JSON_API_KEY_STAGE: ${{ secrets.EBS_JSON_API_KEY_STAGE }}
EDGE_COMMERCE_API_BASE: ${{ secrets.EDGE_COMMERCE_API_BASE_PROD }}
EDGE_COMMERCE_API_BASE_STAGE: ${{ secrets.EDGE_COMMERCE_API_BASE_STAGE }}
# meta-capi — action picks the pixel by runtime namespace (prod/stage/uat),
# so all three pixel ids must be present regardless of deploy env.
# META_BASE_URL / META_API_VERSION have in-code defaults and are omitted.
META_PIXEL_ID: ${{ secrets.META_PIXEL_ID_PROD }}
META_PIXEL_ID_STAGE: ${{ secrets.META_PIXEL_ID_STAGE }}
META_PIXEL_ID_UAT: ${{ secrets.META_PIXEL_ID_UAT }}
META_ACCESS_TOKEN: ${{ secrets.META_ACCESS_TOKEN_PROD }}
# recipe-notify — PROD is the only environment that sends the digest
RECIPE_NOTIFY_ENABLED: "true"
RECIPE_NOTIFY_TOKEN: ${{ secrets.RECIPE_NOTIFY_TOKEN_PROD }}
7 changes: 7 additions & 0 deletions .github/workflows/deploy_stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ jobs:
EBS_JSON_API_KEY_STAGE: ${{ secrets.EBS_JSON_API_KEY_STAGE }}
EDGE_COMMERCE_API_BASE: ${{ secrets.EDGE_COMMERCE_API_BASE_STAGE }}
EDGE_COMMERCE_API_BASE_STAGE: ${{ secrets.EDGE_COMMERCE_API_BASE_STAGE }}
# meta-capi — action picks the pixel by runtime namespace (prod/stage/uat),
# so all three pixel ids must be present regardless of deploy env.
# META_BASE_URL / META_API_VERSION have in-code defaults and are omitted.
META_PIXEL_ID: ${{ secrets.META_PIXEL_ID_STAGE }}
META_PIXEL_ID_STAGE: ${{ secrets.META_PIXEL_ID_STAGE }}
META_PIXEL_ID_UAT: ${{ secrets.META_PIXEL_ID_UAT }}
META_ACCESS_TOKEN: ${{ secrets.META_ACCESS_TOKEN_STAGE }}
# recipe-notify — RECIPE_NOTIFY_ENABLED intentionally NOT set on stage,
# so the scheduled digest no-ops here (no duplicate emails).
RECIPE_NOTIFY_TOKEN: ${{ secrets.RECIPE_NOTIFY_TOKEN_STAGE }}
Expand Down
13 changes: 13 additions & 0 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@ EDGE_COMMERCE_API_ORDERS_TOKEN_STAGE=
EDGE_COMMERCE_API_ORDERS_TOKEN_PROD=
EDGE_COMMERCE_API_ORDERS_TOKEN=

# meta-capi action — Meta Conversions API (server-to-server Purchase events).
# The action selects the pixel id by runtime namespace (prod/stage/uat), so all
# three pixel ids are deployed to every environment.
META_PIXEL_ID_STAGE=
META_PIXEL_ID_UAT=
META_PIXEL_ID_PROD=
# Meta system-user access token with the ads_management / business permission
# for the pixel(s) above. Env-specific: set to prod on prod, stage on stage.
META_ACCESS_TOKEN_STAGE=
META_ACCESS_TOKEN_PROD=
# META_BASE_URL (default https://graph.facebook.com) and META_API_VERSION
# (default v22.0) have in-code defaults; override only if they change.

# recipe-notify action — CalcMenu recipe journal API
# All have sensible in-code defaults; override here only if they change.
RECIPE_API_URL=https://vitamix.calcmenuweb.com/ws/service.asmx/GetUpdatedRecipes
Expand Down
Loading