Closed sbellone closed 1 month ago
New GitHub Action that will build and push our demo when develop is updated.
develop
I've generated a patch containing all changes between develop and the current demo branch:
$ git diff develop..demo --binary > algolia-demo.patch
The GitHub Action will:
${{ github.ref_name }}
algolia-config.json
commerce-api-config.json
jq
algolia-demo.patch
I've created all necessary variables and used my Managed Runtime API Key for the MRT_API_KEY secret.
MRT_API_KEY
I've tested the workflow on a temporary fork and was able to push a bundle: https://github.com/sbellone/algolia-pwa-demo/actions/runs/11109886226/job/30866297606
SFCC-384
New GitHub Action that will build and push our demo when
develop
is updated.Demo patch
I've generated a patch containing all changes between develop and the current demo branch:
Workflow
The GitHub Action will:
develop
branch (${{ github.ref_name }}
points on the branch that triggered the workflow (doc))algolia-config.json
andcommerce-api-config.json
files usingjq
to inject variables and secrets from env vars (c.f. jq doc).algolia-demo.patch
I've created all necessary variables and used my Managed Runtime API Key for the
MRT_API_KEY
secret.Test
I've tested the workflow on a temporary fork and was able to push a bundle: https://github.com/sbellone/algolia-pwa-demo/actions/runs/11109886226/job/30866297606
SFCC-384