From 5ea120d35a8d49911d52622bd3c2e49f9dce8aa7 Mon Sep 17 00:00:00 2001 From: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:28:11 +0100 Subject: [PATCH] Adding search index update to manual index run Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com> --- .github/workflows/index-manual.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/index-manual.yml b/.github/workflows/index-manual.yml index 6c1a4c6..ab5e59e 100644 --- a/.github/workflows/index-manual.yml +++ b/.github/workflows/index-manual.yml @@ -45,7 +45,7 @@ jobs: working-directory: backend run: go generate ./... - - name: Run generation + - name: Update documentation working-directory: backend env: AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} @@ -59,3 +59,8 @@ jobs: FORCE_REGENERATE: ${{inputs.force_regenerate}} run: | go run github.com/opentofu/registry-ui/cmd/generate --log-level=trace --s3-bucket=${S3_BUCKET} --blocklist ../blocklist.json --licenses-file ../licenses.json --namespace="${NAMESPACE}" --name="${NAME}" --target-system="${TARGET_SYSTEM}" --force-regenerate="${FORCE_REGENERATE}" + - name: Update search index + working-directory: search/pg-indexer + env: + PG_CONNECTION_STRING: ${{secrets.PG_CONNECTION_STRING}} + run: go run ./ \ No newline at end of file