From 75e0f4f8378011ea0398cd53838432be5ef933a9 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Sun, 24 Mar 2024 21:47:50 -0400 Subject: [PATCH] Reverting changes --- .github/workflows/merge-json.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge-json.yml b/.github/workflows/merge-json.yml index 5caa64d2c..278400cce 100644 --- a/.github/workflows/merge-json.yml +++ b/.github/workflows/merge-json.yml @@ -47,9 +47,10 @@ jobs: -o ./main/.metada/extension-samples.json \ https://raw.githubusercontent.com/pnp/sp-dev-fx-extensions/main/.metadata/samples.json - - name: Merge JSON files - run: node .github/workflows/merge.js - + - name: Join samples + run: | + jq -s '[.[][]]' ./main/samples/**/assets/sample.json ./main/.metada/extension-samples.json > ./Docs/docs/samples.json + - name: copy file to gh-pages uses: canastro/copy-file-action@master with: